7.2
CVSSv2

CVE-2005-3346

Published: 20/11/2005 Updated: 11/07/2017
CVSS v2 Base Score: 7.2 | Impact Score: 10 | Exploitability Score: 3.9
VMScore: 725
Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Summary

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.

Vulnerable Product Search on Vulmon Subscribe to Product

osh osh 1.7.14

Exploits

#!/bin/sh # # OSH 17-14 Exploit # # EDUCATIONAL purposes only :-) # # by Charles Stevenson (core) <core@bokeoacom> # # Description: # The Operator Shell (Osh) is a setuid root, security enhanced, restricted # shell It allows the administrator to carefully limit the access of special # commands and files to the users whose duties requir ...