Secunia Security Advisory - A vulnerability has been reported in osh, which can be exploited by malicious, local users to gain escalated privileges. The vulnerability is caused due to an error in main.c when handling environment variable substitutions. This can be exploited to inject arbitrary environment variables (e.g. LD_PRELOAD) to cause malicious shared libraries to be loaded by osh. Successful exploitation allows arbitrary code execution with root privileges. The vulnerability has been reported in version 1.7-14. Prior versions may also be affected. Note: An exploit for this vulnerability is publicly available.
a10d5fed81f4cd8a9b3f93065ce202ccc7631245f83967fa3da7b2545d688ca9
TITLE:
osh Environment Variable Substitution Vulnerability
SECUNIA ADVISORY ID:
SA17527
VERIFY ADVISORY:
https://secunia.com/advisories/17527/
CRITICAL:
Less critical
IMPACT:
Privilege escalation
WHERE:
Local system
SOFTWARE:
osh 1.x
https://secunia.com/product/1750/
DESCRIPTION:
A vulnerability has been reported in osh, which can be exploited by
malicious, local users to gain escalated privileges.
The vulnerability is caused due to an error in "main.c" when handling
environment variable substitutions. This can be exploited to inject
arbitrary environment variables (e.g. LD_PRELOAD) to cause malicious
shared libraries to be loaded by osh.
Successful exploitation allows arbitrary code execution with root
privileges.
The vulnerability has been reported in version 1.7-14. Prior versions
may also be affected.
Note: An exploit for this vulnerability is publicly available.
SOLUTION:
This product is being maintained as a Debian package and patches are
available from Debian.
The vulnerability has been fixed in version 1.7-15.
PROVIDED AND/OR DISCOVERED BY:
Solar Eclipse
ORIGINAL ADVISORY:
Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338312
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
https://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
https://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------