OSVDB ID: 24444

Title: OpenVPN LD_PRELOAD Environment Variable Pushing Arbitrary Code Execution

Info

Disclosure

Apr 05, 2006

Discovery

Unknown

Dates

Exploit

Unknown

Solution

Unknown

Description

OpenVPN contains a flaw that may allow a malicious user to execute arbitrary code. The issue is caused due to OpenVPN clients allowing the server to transmit environment variables including LD_PRELOAD to client-side shell scripts via 'setenv' configuration directives. It is possible that the flaw may allow arbitrary code execution by placing and loading a file in a known location resulting in a loss of integrity.

Classification

Location: Remote / Network Access
Attack Type: Input Manipulation
Impact: Loss of Integrity
Exploit: Exploit Rumored
Disclosure: OSVDB Verified, Vendor Verified

Solution

Upgrade to version 2.0.6 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Products

OpenVPN

OpenVPN

2.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5

References

Credit

  • Hendrik Weimer - hendrikenyo.de -


Direct URL: http://osvdb.org/24444