CVE-2014-2583
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 14.04 | pam | Fixed | 1.1.8-1ubuntu2.1 | UBUNTU-CVE-2014-2583 |
| Debian 14 | pam | Fixed | 1.1.8-3.1 | DEBIAN-CVE-2014-2583 |
| Debian 13 | pam | Fixed | 1.1.8-3.1 | DEBIAN-CVE-2014-2583 |
| Debian 12 | pam | Fixed | 1.1.8-3.1 | DEBIAN-CVE-2014-2583 |
| Red Hat Enterprise Linux 7 | pam | Not affected | ||
| Red Hat Enterprise Linux 7 | pam-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | pam | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | pam-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | pam | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://security.gentoo.org/glsa/201605-05 (vendor-advisory)
- http://www.ubuntu.com/usn/USN-2935-2 (vendor-advisory)
- http://www.ubuntu.com/usn/USN-2935-3 (vendor-advisory)
- http://www.ubuntu.com/usn/USN-2935-1 (vendor-advisory)
References
- http://www.openwall.com/lists/oss-security/2014/03/24/5
- http://www.securityfocus.com/bid/66493
- https://security.gentoo.org/glsa/201605-05
- http://secunia.com/advisories/57317
- http://www.ubuntu.com/usn/USN-2935-2
- http://www.openwall.com/lists/oss-security/2014/03/31/6
- http://www.ubuntu.com/usn/USN-2935-3
- http://www.ubuntu.com/usn/USN-2935-1
- https://git.fedorahosted.org/cgit/linux-pam.git/commit/?id=Linux-PAM-1_1_8-32-g9dcead8
- http://www.openwall.com/lists/oss-security/2014/03/26/10
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.