CVE-2012-5519 Privilege escalation in n/a
Local users in the lpadmin group can read or write arbitrary files as root via the CUPS web interface administrator key.
- 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-2012-5519?
CVE-2012-5519 is a high-severity vulnerability in Apple Cups, published on 20 Nov 2012. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
CUPS 1.4.4, when running in certain Linux distributions such as Debian GNU/Linux, stores the web interface administrator key in /var/run/cups/certs/0 using certain permissions, which allows local users in the lpadmin group to read or write arbitrary files as root by leveraging the web interface.
Weakness: CWE-264
Which versions are affected by CVE-2012-5519?
It affects 1 product.
Linux distribution packages (29)
cups Red Hat:enterprise_linux:5::server | All versions | 1:1.3.7-30.el5_9.3 |
cups-debuginfo Red Hat:enterprise_linux:5::server | All versions | 1:1.3.7-30.el5_9.3 |
cups-devel Red Hat:enterprise_linux:5::server | All versions | 1:1.3.7-30.el5_9.3 |
cups-libs Red Hat:enterprise_linux:5::server | All versions | 1:1.3.7-30.el5_9.3 |
cups-lpd Red Hat:enterprise_linux:5::server | All versions | 1:1.3.7-30.el5_9.3 |
cups Red Hat:enterprise_linux:6::client | All versions | 1:1.4.2-50.el6_4.4 |
cups-debuginfo Red Hat:enterprise_linux:6::client | All versions | 1:1.4.2-50.el6_4.4 |
cups-devel Red Hat:enterprise_linux:6::client | All versions | 1:1.4.2-50.el6_4.4 |
cups-libs Red Hat:enterprise_linux:6::client | All versions | 1:1.4.2-50.el6_4.4 |
cups-lpd Red Hat:enterprise_linux:6::client | All versions | 1:1.4.2-50.el6_4.4 |
cups-php Red Hat:enterprise_linux:6::client | All versions | 1:1.4.2-50.el6_4.4 |
cups Red Hat:enterprise_linux:6::computenode | All versions | 1:1.4.2-50.el6_4.4 |
cups-debuginfo Red Hat:enterprise_linux:6::computenode | All versions | 1:1.4.2-50.el6_4.4 |
cups-devel Red Hat:enterprise_linux:6::computenode | All versions | 1:1.4.2-50.el6_4.4 |
cups-libs Red Hat:enterprise_linux:6::computenode | All versions | 1:1.4.2-50.el6_4.4 |
cups-lpd Red Hat:enterprise_linux:6::computenode | All versions | 1:1.4.2-50.el6_4.4 |
cups-php Red Hat:enterprise_linux:6::computenode | All versions | 1:1.4.2-50.el6_4.4 |
cups Red Hat:enterprise_linux:6::server | All versions | 1:1.4.2-50.el6_4.4 |
cups-debuginfo Red Hat:enterprise_linux:6::server | All versions | 1:1.4.2-50.el6_4.4 |
cups-devel Red Hat:enterprise_linux:6::server | All versions | 1:1.4.2-50.el6_4.4 |
cups-libs Red Hat:enterprise_linux:6::server | All versions | 1:1.4.2-50.el6_4.4 |
cups-lpd Red Hat:enterprise_linux:6::server | All versions | 1:1.4.2-50.el6_4.4 |
cups-php Red Hat:enterprise_linux:6::server | All versions | 1:1.4.2-50.el6_4.4 |
cups Red Hat:enterprise_linux:6::workstation | All versions | 1:1.4.2-50.el6_4.4 |
cups-debuginfo Red Hat:enterprise_linux:6::workstation | All versions | 1:1.4.2-50.el6_4.4 |
cups-devel Red Hat:enterprise_linux:6::workstation | All versions | 1:1.4.2-50.el6_4.4 |
cups-libs Red Hat:enterprise_linux:6::workstation | All versions | 1:1.4.2-50.el6_4.4 |
cups-lpd Red Hat:enterprise_linux:6::workstation | All versions | 1:1.4.2-50.el6_4.4 |
cups-php Red Hat:enterprise_linux:6::workstation | All versions | 1:1.4.2-50.el6_4.4 |
Products include Apple Cups.
How do I fix CVE-2012-5519?
Apply the vendor's patch.
Is CVE-2012-5519 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-5519 exists.
Public exploit code: 1 Metasploit module and 1 proofs of concept on GitHub.
Other vulnerabilities in Apple Cups
Sources
Also known as DEBIAN-CVE-2012-5519, DSA-2600-1, GHSA-ccjj-h3mm-j4rr, RHSA-2013:0580.