Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Less critical

osh Two Buffer Overflow Vulnerabilities

-

Release Date:  2005-02-08    Last Update:  2005-12-09    Views:  7,784

Secunia Advisory SA14159

Where:

Local system

Impact:

Privilege escalation

Solution Status:

Vendor Patch

Software:

CVE Reference(s):

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.

Further details available to Secunia VIM customers

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

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

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: osh Two Buffer Overflow Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability