CVE-2011-4122 Path traversal in n/a

Medium 6.9 Published Updated

Local attackers can exploit a directory traversal flaw in OpenPAM to load arbitrary shared objects and escalate privileges on FreeBSD systems.

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

What is CVE-2011-4122?

CVE-2011-4122 is a medium-severity path traversal vulnerability in Freebsd Freebsd, published on 17 Nov 2011. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Directory traversal vulnerability in openpam_configure.c in OpenPAM before r478 on FreeBSD 8.1 allows local users to load arbitrary DSOs and gain privileges via a .. (dot dot) in the service_name argument to the pam_start function, as demonstrated by a .. in the -c option to kcheckpass.

Weakness: CWE-22

Which versions are affected by CVE-2011-4122?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2011-4122?

No fix has been published for CVE-2011-4122 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2011-4122 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-4122 exists.

Public exploit code: 1 Exploit-DB entry.

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-xh8r-pw4r-9vx4.

Is CVE-2011-4122 in your software?

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

Check your SBOMs for free