{"schemaVersion":3,"id":"CVE-2012-5380","aliases":[],"status":"published","duplicateOf":null,"title":null,"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","dates":{"published":"2012-10-11T10:00:00.000Z","modified":"2024-09-17T01:01:38.756Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.7,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.7,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6,"severity":"medium","vector":"AV:L/AC:H/Au:S/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00993,"percentile":0.6204,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00993},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00993,"percentile":0.6204}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00993,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00993,"percentile":0.6204}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_F0B328C010D3394C","name":"Exploit Reference (htbridge.com)","source":"reference","url":"https://www.htbridge.com/advisory/HTB23108","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"28130","name":"IKE and AuthIP IPsec Keyring Modules Service (IKEEXT) - Missing DLL (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/28130","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"local","platforms":["windows"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"local","platform":"windows","file":"exploits/windows/local/28130.rb","codes":["CVE-2012-5383","CVE-2012-5382","CVE-2012-5381","CVE-2012-5380","CVE-2012-5379","CVE-2012-5378","CVE-2012-5377","OSVDB-86179","OSVDB-86178","OSVDB-86177","OSVDB-86176","OSVDB-86175","OSVDB-86174","OSVDB-86173","OSVDB-86172"]},"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"ruby-lang","product":"ruby","name":"ruby","label":"ruby","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.9.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.9.3","eol":{"isEol":true,"eolDate":"2015-02-23T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"1.9.3","label":"1.9.3","eolFrom":"2015-02-23T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"1.9.3p551"},"product":{"name":"ruby","label":"Ruby","category":"lang"}},"hubHref":"/vendor/ruby-lang/ruby"}],"affectedCount":1,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://www.htbridge.com/advisory/HTB23108","label":"www.htbridge.com/advisory/HTB23108","hostname":"www.htbridge.com","tags":["X Refsource MISC","Exploit"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2012-10-11T10:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T01:01:38.756Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":37,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T18:08:57.628Z","stale":false,"partial":false}}