Command injection in CUPS - CVE-2017-18190

 

Command injection in CUPS - CVE-2017-18190

Published: March 12, 2018


Vulnerability identifier: #VU10942
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-18190
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apple Inc.
Affected software:
CUPS

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The weakness exists in a localhost.localdomain whitelist entry in valid_host() in scheduler/client.c due to the localhost.localdomain name is often resolved via a DNS server. A remote attacker can send specially crafted POST requests to the CUPS daemon in conjunction with DNS rebinding, inject and execute arbitrary IPP commands.

How to mitigate CVE-2017-18190

Update to version 2.2.2.

Sources