LiveActive security incident?Get immediate response
CVE Record

CVE-2012-5380: Untrusted search path vulnerability in the installation functionality in Ruby 1.9.3-p194, when installed in...

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

MediumCVSS 6.7Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This CVE describes a disputed privilege-escalation scenario involving Ruby 1.9.3-p194 on Windows. The risk depends on an administrator separately adding a Ruby bin directory under C:\ to the system PATH. If that configuration exists, a local user might influence DLL loading and gain higher privileges.

Executive priority

Treat this as a targeted configuration-risk cleanup, not an emergency. Prioritize systems where older Ruby installations run on shared Windows servers or administrator-managed endpoints. The disputed status and required non-default PATH configuration reduce urgency, but privilege escalation impact can be high where exposure exists.

Technical view

The issue is an untrusted search path condition in Ruby 1.9.3-p194 installation functionality when installed under top-level C:\. CVE notes the unsafe PATH is not a default Ruby installation behavior and requires a separate administrative action, so the issue is disputed. The listed CVSS is 6.7 with local attack vector and high complexity.

Likely exposure

Exposure appears narrow: Windows hosts with Ruby 1.9.3-p194 installed under C:\ and C:\Ruby193\bin added to the system PATH by an administrator. The source bundle does not identify reliable affected CPEs or broader products.

Exploitation context

The provided sources do not show active exploitation, and KEV is false. Abuse would require local access and the specific unsafe PATH condition. CVE explicitly disputes the issue because that condition is not part of the default Ruby installation.

Researcher notes

Key uncertainty is configuration, not just Ruby version. The CVE record disputes the vulnerability because the risky PATH requires separate administrative action. Validate PATH and ACL state before assigning exposure. The source bundle provides no patch, no confirmed exploit activity, and no authoritative affected CPE list.

Mitigation direction

  • Inventory Windows systems for Ruby 1.9.3-p194 installed under C:\.
  • Remove writable application bin directories from the system PATH where operationally possible.
  • Restrict write permissions on Ruby installation directories.
  • Check Ruby or installer vendor guidance before applying product-specific fixes.

Validation and detection

  • Confirm whether C:\Ruby193\bin exists on Windows hosts.
  • Review system PATH for C:\Ruby193\bin or similar writable Ruby paths.
  • Verify directory ACLs prevent untrusted local users writing files there.
  • Document any exception where administrators intentionally configured this PATH entry.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-22: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2012-5380 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.7CVSS 3.1MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H0.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.7Medium
CVSS 3.1 vector shape for CVE-2012-5380Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-22 · source CWE mapping

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.