CVE-2005-3346
Osh vulnerability
Buffer overflow in the environment variable substitution code in main.c in OSH 1.7-14 allows local users to inject arbitrary environment variables, such as LD_PRELOAD, via pathname arguments of the form "$VAR/EVAR=arg", which cause the EVAR portion to be appended to a buffer returned by a getenv function call.
Affected products
Osh. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Osh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- secunia.com/advisories/17527 · Vendor Advisory
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=338312
- pulltheplug.org/users/core/files/x_osh3.sh
- secunia.com/advisories/17967
- www.debian.org/security/2005/dsa-918
- www.osvdb.org/20720
- www.securityfocus.com/bid/15370
- www.vupen.com/english/advisories/2005/2378
- nvd.nist.gov/vuln/detail/CVE-2005-3346
- cve.org/CVERecord?id=CVE-2005-3346
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.