Secunia Logo
 
osh Two Buffer Overflow Vulnerabilities
Secunia Advisory: SA14159
Release Date: 2005-02-08
Last Update: 2005-12-09
Popularity: 5,294 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Vendor Patch

Software:osh 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-3533


Description:
Two vulnerabilities have been reported in osh, which can be exploited by malicious, local users to gain escalated privileges.

1) A boundary error exists in the function "iopen()" in "main.c" and can be exploited to cause a buffer overflow by supplying an overly long argument.

Example:
"/usr/sbin/osh exit [more than 1024 bytes]"

2) A boundary error exists in the "writable()" function in handlers.c and can be exploited to cause a buffer overflow by running osh from a directory with a directory name of more than 255 bytes.

Successful exploitation may allow execution of arbitrary code with root privileges.

The vulnerabilities have been reported in version 1.7. Other versions may also be affected.

Solution:
This product is being maintained as a Debian package and patches are available from Debian.

The vulnerabilities have been fixed in version 1.7-14.
http://ftp.debian.org/debian/pool/main/o/osh/osh_1.7-14.diff.gz

Provided and/or discovered by:
1) Charles Stevenson
2) Solar Eclipse

Changelog:
2005-08-16: Added information about additional vulnerability.
2005-11-10: Updated "Solution Status", "Solution" and "Original Advisory" sections.
2005-12-09: Added CVE reference.

Original Advisory:
Debian:
http://packages.debian.org/changelogs/pool/main/o/osh/osh_1.7-14/changelog


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

Today
New advisories: 2
New vulnerabilities: 3
Updated advisories: 5


20th Nov, 2008
New advisories: 24
New vulnerabilities: 48
Updated advisories: 33


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. Symantec Backup Exec for Windows Servers Multiple Vulnerabilities // 49 views
2. HP OpenView Network Node Manager Cross-Site Scripting Vulnerabilities // 33 views
3. imlib2 XPM Processing Buffer Overflow Vulnerability // 30 views
4. refbase "headerMsg" Cross-Site Scripting Vulnerability // 28 views
5. MailScanner "trend-autoupdate" Insecure Temporary Files // 26 views
6. MyTopix "send" SQL Injection Vulnerability // 25 views
7. P3nfs Insecure Temporary Files // 24 views
8. Alex Multiple Products File Upload Vulnerability // 23 views
9. MauryCMS "c" SQL Injection Vulnerability // 22 views
10. ClipShare "chid" SQL Injection Vulnerability // 21 views