Back to CVE catalog
CVE-2012-5380

Untrusted search path vulnerability in Ruby installation

ruby-lang ruby

At a glance

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

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.1

6.7Medium
Published:
Updated:
EPSS:
0.993%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:ruby-langrubyAffected versions:
1.9.3

1–1 of 1 · Page 1 of 1

CVSS scores and metrics5
CISA-ADP · CVE List / CNA (adp)Primary6.7 / 10MediumCVSS 3.1Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
134c704f-9b21-4f2e-91b3-4a467353bcc0 · NVD (Secondary)6.7 / 10MediumCVSS 3.1Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
nvd · Wazuh CTI (cna)6.7 / 10MediumCVSS 3.1Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
[email protected] · NVD (Primary)6.0 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Single

Source vector

AV:L/AC:H/Au:S/C:C/I:C/A:C
nvd · Wazuh CTI (cna)6.0 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Local
Authentication
Single

Source vector

AV:L/AC:H/Au:S/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories5

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences