CVE-2018-4182
published 2019-01-11CVE-2018-4182: In macOS High Sierra before 10.13.5, an access issue was addressed with additional sandbox restrictions on CUPS.
PriorityP434high8.2CVSS 3.0
AVLACLPRHUINSCCHIHAH
EPSS
0.38%
30.5th percentile
In macOS High Sierra before 10.13.5, an access issue was addressed with additional sandbox restrictions on CUPS.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| 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 | — | — |
| debian | cups | — | — |
CVSS provenance
nvdv3.08.2HIGHCVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
vendor_debian8.2LOW
vendor_redhat8.2HIGH
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.
GHSA
GHSA-77qc-wcq2-m5v2: In macOS High Sierra before 10
ghsa_unreviewed·2022-05-13
CVE-2018-4182 [HIGH] GHSA-77qc-wcq2-m5v2: In macOS High Sierra before 10
In macOS High Sierra before 10.13.5, an access issue was addressed with additional sandbox restrictions on CUPS.
Apple
CVE-2018-4182: macOS High Sierra 10.13.5, Security Update 2018-003 Sierra, Security Update 2018-003 El Capitan
vendor_apple·2018-06-01·CVSS 8.2
CVE-2018-4182 [HIGH] CVE-2018-4182: 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-4182
Component: CUPS
Impact: A sandboxed process may be able to circumvent sandbox restrictions
Description: An access issue was addressed with additional sandbox restrictions on CUPS.
Red Hat
cups: Sandbox bypass due to insecure error handling
vendor_redhat·2018-05-09·CVSS 8.2
CVE-2018-4182 [HIGH] CWE-250 cups: Sandbox bypass due to insecure error handling
cups: Sandbox bypass due to insecure error handling
In macOS High Sierra before 10.13.5, an access issue was addressed with additional sandbox restrictions on CUPS.
A Sandbox bypass has been discovered in cups on macOS due to insecure error handling. An attacker that has obtained sandboxed root access can use this flow to escape the sandbox.
Statement: This issue did not affect the versions of cups as shipped with Red Hat Enterprise Linux as cups on Linux does not support the Sandbox feature.
Package: cups (Red Hat Enterprise Linux 5) - Not affected
Package: cups (Red Hat Enterprise Linux 6) - Not affected
Package: cups (Red Hat Enterprise Linux 7) - Not affected
Package: cups (Red Hat Enterprise Linux 8) - Not affected
Package: cups (Red Hat Virtualization 4) - Not affected
Debian
CVE-2018-4182: cups - In macOS High Sierra before 10.13.5, an access issue was addressed with addition...
vendor_debian·2018·CVSS 8.2
CVE-2018-4182 [HIGH] CVE-2018-4182: cups - In macOS High Sierra before 10.13.5, an access issue was addressed with addition...
In macOS High Sierra before 10.13.5, an access issue was addressed with additional sandbox restrictions on CUPS.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
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-4182 cups: Sandbox bypass due to insecure error handling
bugzilla·2018-07-23·CVSS 8.2
CVE-2018-4182 [HIGH] CVE-2018-4182 cups: Sandbox bypass due to insecure error handling
CVE-2018-4182 cups: Sandbox bypass due to insecure error handling
It is possible to cause cups-exec to execute backends without a sandbox profile by causing cupsdCreateProfile() to fail. An attacker that has obtained sandboxed root access can accomplish this by setting the CUPS temporary directory to immutable using chflags, which will prevent the profile from being written to disk.
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 tracking bugs for this issue:
Affects: fedora-all [bug 1607293]
---
Fedora and RHEL are not affected by this flaw since Sandbox feature is not enabled on Linux.
---
State
2019-01-11
Published