First published: Thu Oct 11 2012(Updated: )
** DISPUTED ** 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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Ruby | =1.9.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2012-5380 is considered a moderate severity vulnerability due to its potential for privilege escalation.
To mitigate CVE-2012-5380, avoid installing Ruby in the top-level C:\ directory and ensure that your PATH does not include untrusted directories.
CVE-2012-5380 affects users of Ruby version 1.9.3 when installed under specific conditions.
CVE-2012-5380 is an untrusted search path vulnerability that can lead to privilege escalation.
To secure your Ruby installation, always install it in a secure directory and validate all elements in your PATH environment variable.