CVE-2018-4180
published 2019-01-11CVE-2018-4180: In macOS High Sierra before 10.13.5, an issue existed in CUPS. This issue was addressed with improved access restrictions.
PriorityP336high7.8CVSS 3.0
AVLACLPRLUINSUCHIHAH
EPSS
0.45%
37.0th percentile
In macOS High Sierra before 10.13.5, an issue existed in CUPS. This issue was addressed with improved access restrictions.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | cups | >= 0 < 2.2.8-2 | 2.2.8-2 |
| apple | cups | >= 0 < 2.2.8-2 | 2.2.8-2 |
| apple | cups | >= 0 < 2.2.8-2 | 2.2.8-2 |
| apple | cups | >= 0 < 2.2.8-2 | 2.2.8-2 |
| apple | cups | >= 0 < 1.7.2-0ubuntu1.10 | 1.7.2-0ubuntu1.10 |
| apple | cups | >= 0 < 2.1.3-4ubuntu0.5 | 2.1.3-4ubuntu0.5 |
| apple | cups | >= 0 < 2.2.7-1ubuntu2.1 | 2.2.7-1ubuntu2.1 |
| apple | mac_os_x | < 10.13.5 | 10.13.5 |
| apple | macos_high_sierra_10.13.5_security_update_2018-003_sierra_security_update_2018-0 | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | cups | < cups 2.2.8-2 (bookworm) | cups 2.2.8-2 (bookworm) |
| debian | debian_linux | — | — |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
CUPS vulnerabilities
vendor_ubuntu·2018-07-11·CVSS 5.3
CVE-2017-18248 [MEDIUM] CUPS vulnerabilities
Title: CUPS vulnerabilities
Summary: Several security issues were fixed in CUPS.
It was discovered that CUPS incorrectly handled certain print jobs with
invalid usernames. A remote attacker could possibly use this issue to cause
CUPS to crash, resulting in a denial of service. This issue only affected
Ubuntu 14.04 LTS, Ubuntu 17.10 and Ubuntu 18.04 LTS. (CVE-2017-18248)
Dan Bastone discovered that the CUPS dnssd backend incorrectly handled
certain environment variables. A local attacker could possibly use this
issue to escalate privileges. (CVE-2018-4180)
Eric Rafaloff and John Dunlap discovered that CUPS incorrectly handled
certain include directives. A local attacker could possibly use this issue
to read arbitrary files. (CVE-2018-4181)
Dan Bastone discovered that the CUPS AppArmor
Apple
CVE-2018-4180: macOS High Sierra 10.13.5, Security Update 2018-003 Sierra, Security Update 2018-003 El Capitan
vendor_apple·2018-06-01·CVSS 7.8
CVE-2018-4180 [HIGH] CVE-2018-4180: macOS High Sierra 10.13.5, Security Update 2018-003 Sierra, Security Update 2018-003 El Capitan
Apple Security Update: About the security content of macOS High Sierra 10.13.5, Security Update 2018-003 Sierra, Security Update 2018-003 El Capitan
Product: macOS High Sierra 10.13.5, Security Update 2018-003 Sierra, Security Update 2018-003 El Capitan
CVE: CVE-2018-4180
Component: CUPS
Impact: A local process may modify other processes without entitlement checks
Description: An issue existed in CUPS. This issue was addressed with improved access restrictions.
Red Hat
cups: Local privilege escalation to root due to insecure environment variable handling
vendor_redhat·2018-05-09·CVSS 7.8
CVE-2018-4180 [HIGH] CWE-642 cups: Local privilege escalation to root due to insecure environment variable handling
cups: Local privilege escalation to root due to insecure environment variable handling
In macOS High Sierra before 10.13.5, an issue existed in CUPS. This issue was addressed with improved access restrictions.
It was discovered that CUPS allows non-root users to pass environment variables to CUPS backends. Affected backends use attacker-controlled environment variables without proper sanitization. A local attacker, who is part of one of the groups specified in the SystemGroups directive, could use the cupsctl binary to set SetEnv and PassEnv directives and potentially controls the flow of the affected backend, resulting in some cases in arbitrary code execution with root privileges.
Mitigation: Do not add untrusted users to sys and root groups.
Package: cups (Red Hat Enterprise Linux 5
Debian
CVE-2018-4180: cups - In macOS High Sierra before 10.13.5, an issue existed in CUPS. This issue was ad...
vendor_debian·2018·CVSS 7.8
CVE-2018-4180 [HIGH] CVE-2018-4180: cups - In macOS High Sierra before 10.13.5, an issue existed in CUPS. This issue was ad...
In macOS High Sierra before 10.13.5, an issue existed in CUPS. This issue was addressed with improved access restrictions.
Scope: local
bookworm: resolved (fixed in 2.2.8-2)
bullseye: resolved (fixed in 2.2.8-2)
forky: resolved (fixed in 2.2.8-2)
sid: resolved (fixed in 2.2.8-2)
trixie: resolved (fixed in 2.2.8-2)
GHSA
GHSA-jwrm-4wqq-pfgh: In macOS High Sierra before 10
ghsa_unreviewed·2022-05-13
CVE-2018-4180 [HIGH] GHSA-jwrm-4wqq-pfgh: In macOS High Sierra before 10
In macOS High Sierra before 10.13.5, an issue existed in CUPS. This issue was addressed with improved access restrictions.
OSV
CVE-2018-4180: In macOS High Sierra before 10
osv·2019-01-11·CVSS 7.8
CVE-2018-4180 [HIGH] CVE-2018-4180: In macOS High Sierra before 10
In macOS High Sierra before 10.13.5, an issue existed in CUPS. This issue was addressed with improved access restrictions.
OSV
cups vulnerabilities
osv·2018-07-11·CVSS 5.3
CVE-2017-18248 [MEDIUM] cups vulnerabilities
cups vulnerabilities
It was discovered that CUPS incorrectly handled certain print jobs with
invalid usernames. A remote attacker could possibly use this issue to cause
CUPS to crash, resulting in a denial of service. This issue only affected
Ubuntu 14.04 LTS, Ubuntu 17.10 and Ubuntu 18.04 LTS. (CVE-2017-18248)
Dan Bastone discovered that the CUPS dnssd backend incorrectly handled
certain environment variables. A local attacker could possibly use this
issue to escalate privileges. (CVE-2018-4180)
Eric Rafaloff and John Dunlap discovered that CUPS incorrectly handled
certain include directives. A local attacker could possibly use this issue
to read arbitrary files. (CVE-2018-4181)
Dan Bastone discovered that the CUPS AppArmor profile incorrectly confined
the dnssd backend. A local attac
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-4180 CVE-2018-4181 CVE-2018-4182 CVE-2018-4183 cups: various flaws [fedora-all]
bugzilla·2018-07-23·CVSS 7.8
CVE-2018-4180 [HIGH] CVE-2018-4180 CVE-2018-4181 CVE-2018-4182 CVE-2018-4183 cups: various flaws [fedora-all]
CVE-2018-4180 CVE-2018-4181 CVE-2018-4182 CVE-2018-4183 cups: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple support
Bugzilla
CVE-2018-4180 cups: Local privilege escalation to root due to insecure environment variable handling
bugzilla·2018-07-23·CVSS 7.8
CVE-2018-4180 [HIGH] CVE-2018-4180 cups: Local privilege escalation to root due to insecure environment variable handling
CVE-2018-4180 cups: Local privilege escalation to root due to insecure environment variable handling
Affected versions of CUPS allow for the SetEnv and PassEnv directives to be specified in the cupsd.conf file, which is editable by non-root users using the cupsctl binary. This allows attacker-controlled environment variables to be passed to CUPS backends, some of which are run as root. By passing malicious values in environment variables to affected backends, it is possible to execute an attacker-supplied binary as root, subject to sandbox restrictions.
References:
https://blog.gdssecurity.com/labs/2018/7/11/cups-local-privilege-escalation-and-sandbox-escapes.html
Upstream patch:
https://github.com/apple/cups/commit/d47f6aec436e0e9df6554436e391471097686ecc
Discussion:
Created cups t
Bugzilla
CVE-2018-4181 cups: Manipulation of cupsd.conf by a local attacker resulting in limited reads of arbitrary files as root
bugzilla·2018-07-23·CVSS 7.8
CVE-2018-4181 [HIGH] CVE-2018-4181 cups: Manipulation of cupsd.conf by a local attacker resulting in limited reads of arbitrary files as root
CVE-2018-4181 cups: Manipulation of cupsd.conf by a local attacker resulting in limited reads of arbitrary files as root
It was found that a local attacker can perform limited reads of arbitrary files as root by manipulating cupsd.conf.
Upstream patch:
https://github.com/apple/cups/commit/d47f6aec436e0e9df6554436e391471097686ecc
Discussion:
Created cups tracking bugs for this issue:
Affects: fedora-all [bug 1607293]
---
Similar to CVE-2018-4180, this attack vector is only available to users in the cups SystemGroup groups, who can manipulate cupsd.conf using cupsctl. Impact is further limited when SELinux is enforcing as cupsd operates under a restricted context cupsd_t.
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2020:1050 ht
https://lists.debian.org/debian-lts-announce/2018/07/msg00014.htmlhttps://security.gentoo.org/glsa/201908-08https://support.apple.com/HT208849https://usn.ubuntu.com/3713-1/https://www.debian.org/security/2018/dsa-4243https://lists.debian.org/debian-lts-announce/2018/07/msg00014.htmlhttps://security.gentoo.org/glsa/201908-08https://support.apple.com/HT208849https://usn.ubuntu.com/3713-1/https://www.debian.org/security/2018/dsa-4243
2019-01-11
Published