Secunia Logo  


Secunia PSI WorldMap
 
scponly Privilege Escalation and Security Bypass Vulnerabilities
Secunia Advisory: SA18223
Release Date: 2005-12-23
Last Update: 2006-02-13
Popularity: 7,807 views

Critical:
Less critical
Impact: Security Bypass
Privilege escalation
Where: From remote
Solution Status: Vendor Patch

Software:scponly 3.x
scponly 4.x

Secunia CVSS-2 Score: Available in Secunia business solutions

Subscribe: Instant alerts on relevant vulnerabilities


Advisory Content (Page 1 of 3)[ 1 ] [ 2 ] [ 3 ]

Description:
Two vulnerabilities have been reported in scponly, which can be exploited by malicious, local users to gain escalated privileges, or by malicious users to bypass certain security restrictions.

1) A design error in "scponlyc" allows it to be used with arbitrary chroot directories that local users create in their home directories. This can be exploited by malicious users to gain escalated privileges by creating a hardlink to a setuid root binary in their own chroot directory, configuring LD_PRELOAD to overload a call to setuid with a malicious function, and then using "scponlyc" with the malicious chroot directory.

Successful exploitation allows local privilege escalation but requires that the chrooted setuid "scponlyc" binary is installed, a user executable setuid binary exists on the same file system mount as the user's home directory, and the OS supports LD_PRELOAD.

2) An error exists in the validation of user supplied command line. This can be exploited to supply additional command line arguments to rsync or scp, potentially bypassing the restricted shell and allowing the execution of arbitrary programs.

Successful exploitation requires that scp and rsync compatibility is enabled.

The vulnerabilities have been reported in version 4.1 and prior.

Change Page:
[ 1 ] [ 2 ] [ 3 ]



Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

6th Nov, 2009
New advisories: 17
New vulnerabilities: 65
Updated advisories: 21

Less // 363 views
Debian update for linux-2.6.24
Less // 347 views
Debian update for linux-2.6
Moderately // 326 views
Gentoo update for horde
Less // 340 views
Fedora update for kernel
Less // 330 views
Fedora update for kernel
Moderately // 331 views
Ubuntu update for libgd2
Moderately // 344 views
Ubuntu update for libgd2
Highly // 348 views
Fedora update for alienarena-data

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 43 views
2. Internet Explorer Charset Inheritance Cross-Site Scripting Vulnerability // 27 views
3. OpenSSL TLS Session Renegotiation Plaintext Injection Vulnerability // 18 views
4. Mozilla Firefox Multiple Vulnerabilities // 18 views
5. Adobe Flash Player Multiple Vulnerabilities // 18 views
6. Mono XML Signature HMAC Truncation Spoofing // 16 views
7. Google Chrome Two Vulnerabilities // 15 views
8. Red Hat update for java-1.6.0-openjdk // 15 views
9. Fedora update for java-1.6.0-openjdk // 14 views
10. GnuTLS TLS Session Renegotiation Plaintext Injection Vulnerability // 14 views