CVE-2010-3389 Privilege escalation in n/a

Medium 6.9 Published Updated

Local attackers can gain privileges by placing a malicious shared library in the current working directory due to unsafe LD_LIBRARY_PATH settings in Linux-HA scripts.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2010-3389?

CVE-2010-3389 is a medium-severity vulnerability in n/a, published on 20 Oct 2010. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The (1) SAPDatabase and (2) SAPInstance scripts in OCF Resource Agents (aka resource-agents or cluster-agents) 1.0.3 in Linux-HA place a zero-length directory name in the LD_LIBRARY_PATH, which allows local users to gain privileges via a Trojan horse shared library in the current working directory.

Which versions are affected by CVE-2010-3389?

It affects 1 product.

Linux distribution packages (4)
resource-agents Red Hat:enterprise_linux:6::serverAll versions0:3.9.2-7.el6
resource-agents-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:3.9.2-7.el6
rgmanager Red Hat:rhel_cluster:5All versions0:2.0.52-21.el5
rgmanager-debuginfo Red Hat:rhel_cluster:5All versions0:2.0.52-21.el5

Products include Linux-Ha Ocf Resource Agents.

How do I fix CVE-2010-3389?

Apply the vendor's patch.

Is CVE-2010-3389 being exploited?

There is no known exploitation of CVE-2010-3389 in the wild and no public exploit code.

Sources

Also known as GHSA-23qc-j55g-qfm7, RHSA-2011:1000, RHSA-2011:1580.

Is CVE-2010-3389 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free