All vulnerabilities

Servers and applications

CVE-2012-5380

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…

Severity
Medium 6.7
Published
11 Oct 2012
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Exploit chance
1% in the next 30 daysHigher than 63% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Needs local access · Only under certain conditions · Needs a user account · Needs someone to click or open something
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Sources
NVD

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

From NVD.

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • Version 1.9.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2012-5380
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2012-5380