Search for vulnerabilities
Vulnerability ID | VCID-61gd-4dpb-aaar |
Aliases |
CVE-2012-5519
|
Summary | 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. |
Status | Published |
Exploitability | 2.0 |
Weighted Severity | 6.5 |
Risk | 10.0 |
Affected and Fixed Packages | Package Details |
CWE-264 | Permissions, Privileges, and Access Controls |
CWE-284 | Improper Access Control |
Data source | Metasploit |
---|---|
Description | This module exploits a vulnerability in CUPS < 1.6.2, an open source printing system. CUPS allows members of the lpadmin group to make changes to the cupsd.conf configuration, which can specify an Error Log path. When the user visits the Error Log page in the web interface, the cupsd daemon (running with setuid root) reads the Error Log path and echoes it as plaintext. This module is known to work on Mac OS X < 10.8.4 and Ubuntu Desktop <= 12.0.4 as long as the session is in the lpadmin group. Warning: if the user has set up a custom path to the CUPS error log, this module might fail to reset that path correctly. You can specify a custom error log path with the ERROR_LOG datastore option. |
Note | Stability: - crash-safe SideEffects: - ioc-in-logs - artifacts-on-disk - config-changes Reliability: [] |
Ransomware campaign use | Unknown |
Source publication date | Nov. 20, 2012 |
Platform | Linux,OSX |
Source URL | https://github.com/rapid7/metasploit-framework/tree/master/modules/post/multi/escalate/cups_root_file_read.rb |
Exploitability (E) | Access Vector (AV) | Access Complexity (AC) | Authentication (Au) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|
high functional unproven proof_of_concept not_defined |
local adjacent_network network |
high medium low |
multiple single none |
none partial complete |
none partial complete |
none partial complete |
Percentile | 0.47782 |
EPSS Score | 0.00124 |
Published At | Nov. 1, 2024, midnight |
Date | Actor | Action | Source | VulnerableCode Version |
---|---|---|---|---|
There are no relevant records. |