CVE-2012-5380

MEDIUM

Ruby 1.9.3-p194 - Privilege Escalation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-5380.

AI-analyzed exploit summary This Metasploit module exploits a missing DLL vulnerability in the IKE and AuthIP IPsec Keyring Modules Service (IKEEXT) on Windows Vista to Windows 8. It leverages an insecure bin path to plant a malicious DLL (wlbsctrl.dll) that executes as SYSTEM when the service starts.

Description

Untrusted search path vulnerability in the installation functionality in Ruby 1.9.3-p194, when installed in the top-level C:\ directory, might allow local users to gain privileges via a Trojan horse DLL in the C:\Ruby193\bin directory, which may be added to the PATH system environment variable by an administrator, as demonstrated by a Trojan horse wlbsctrl.dll file used by the "IKE and AuthIP IPsec Keying Modules" system service in Windows Vista SP1, Windows Server 2008 SP2, Windows 7 SP1, and Windows 8 Release Preview. NOTE: CVE disputes this issue because the unsafe PATH is established only by a separate administrative action that is not a default part of the Ruby installation

Exploits (1)

exploitdb WORKING POC
rubylocalwindows
https://www.exploit-db.com/exploits/28130

This Metasploit module exploits a missing DLL vulnerability in the IKE and AuthIP IPsec Keyring Modules Service (IKEEXT) on Windows Vista to Windows 8. It leverages an insecure bin path to plant a malicious DLL (wlbsctrl.dll) that executes as SYSTEM when the service starts.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Windows Vista to Windows 8 (IKEEXT service)
Auth required
Prerequisites: Write access to a directory in the system PATH · IKEEXT service set to Auto or Manual startup · Non-SYSTEM session with sufficient privileges to modify service settings
devstral-2 · analyzed Feb 19, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 6.7
EPSS 0.0032
EPSS Percentile 55.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-22
Status published
Products (1)
ruby-lang/ruby 1.9.3
Published Oct 11, 2012
Tracked Since Feb 18, 2026