CVE-2014-2583 Path traversal in n/a

Medium 5.8 Published Updated

Local attackers can exploit directory traversal in the pam_timestamp module to create arbitrary files or bypass authentication, potentially leading to privilege escalation.

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-2014-2583?

CVE-2014-2583 is a medium-severity path traversal vulnerability in n/a, published on 10 Apr 2014. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Multiple directory traversal vulnerabilities in pam_timestamp.c in the pam_timestamp module for Linux-PAM (aka pam) 1.1.8 allow local users to create arbitrary files or possibly bypass authentication via a .. (dot dot) in the (1) PAM_RUSER value to the get_ruser function or (2) PAM_TTY value to the check_tty function, which is used by the format_timestamp_name function.

Weakness: CWE-22

Which versions are affected by CVE-2014-2583?

It affects 1 product.

Products include Linux-Pam Linux-Pam.

How do I fix CVE-2014-2583?

Apply the vendor's patch.

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

Is CVE-2014-2583 being exploited?

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

Sources

Also known as DEBIAN-CVE-2014-2583, GHSA-p526-qhf4-2v4r, UBUNTU-CVE-2014-2583.

Is CVE-2014-2583 in your software?

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

Check your SBOMs for free