CVE-2012-5519

CUPS 1.4.4 - Arbitrary File Read and Write via Web Interface Key Permissions

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-5519. PoCs published by p1ckzi.

AI-analyzed exploit summary This is a bash script that exploits CVE-2012-5519 in CUPS (Common UNIX Printing System) versions < 1.6.2. It allows users in the lpadmin group to read arbitrary files as root by manipulating the ErrorLog path via the cupsctl command and then accessing the log through the CUPS web interface.

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.

Exploits (1)

nomisec WORKING POC 9 stars
by p1ckzi · poc
https://github.com/p1ckzi/CVE-2012-5519

This is a bash script that exploits CVE-2012-5519 in CUPS (Common UNIX Printing System) versions < 1.6.2. It allows users in the lpadmin group to read arbitrary files as root by manipulating the ErrorLog path via the cupsctl command and then accessing the log through the CUPS web interface.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: CUPS < 1.6.2
Auth required
Prerequisites: linux system · bash · curl · user must be in the lpadmin group · CUPS < 1.6.2 must be installed and running
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (13)

Core 13
Core References
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/11/11/5
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1654-1
Vendor Advisory x_refsource_confirm
http://support.apple.com/kb/HT5784
Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/80012
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/11/11/2
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2013-0580.html
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/11/10/5
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/56494

Scores

EPSS 0.0213
EPSS Percentile 79.5%

Details

CWE
CWE-264
Status published
Products (1)
apple/cups 1.4.4
Published Nov 20, 2012
Tracked Since Feb 18, 2026