osh Two Buffer Overflow Vulnerabilities
Secunia Advisory: SA14159
Release Date: 2005-02-08
Last Update: 2005-12-09
Popularity: 5,101 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

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. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 66 views
2. Cisco ASA and PIX Security Appliances Multiple Vulnerabilities // 54 views
3. HP OpenView Select Identity Connectors Information Disclosure // 52 views
4. Drupal Content Construction Kit Script Insertion Vulnerabilities // 46 views
5. Microsoft Office Two Code Execution Vulnerabilities // 37 views
6. VLC Media Player Multiple Vulnerabilities // 35 views
7. Opera Multiple Vulnerabilities // 35 views
8. CS-Cart "cs_cookies" SQL Injection Vulnerability // 34 views
9. Sun Java JDK / JRE Multiple Vulnerabilities // 27 views
10. Zeroboard Multiple Vulnerabilities // 26 views