Skip to content
OpenAdvisories
Unscored Public exploit CVE-2012-5519 EUVD-2012-5411GHSA-ccjj-h3mm-j4rr

CUPS 1.4.4, when running in certain Linux distributions such as Debian GNU/Linux, stores the web interface administrator key in /var/run/cu…

Published Nov 20, 2012 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cups 1.5.3-2.7 —
Debian 13 cups 1.5.3-2.7 —
Debian 12 cups 1.5.3-2.7 —
Debian 6.0 cups 1.4.4-7+squeeze2 DSA-2600-1
ReleasePackageFixed inAdvisory
RHEL 6 cups +4 1:1.4.2-50.el6_4.4 RHSA-2013:0580
RHEL 5 cups +3 1:1.3.7-30.el5_9.3 RHSA-2013:0580
ReleasePackageFixed inAdvisory
SLES 12 cups 1.7.5-9.1 SUSE-SU-2015:1041-1
SLES 12 cups154 1.5.4-9.1 SUSE-SU-2015:1044-2, SUSE-SU-2015:1044-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 cups 1.7.5-9.1 SUSE-SU-2015:1041-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cups 2.1.3-2.3 openSUSE-SU-2024:10075-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 6

References