A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbitr
A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbitrary IPP commands by sending POST requests to the CUPS daemon in conjunction with DNS rebinding. The localhost.localdomain name is often resolved via a DNS server (neither the OS nor the web browser is responsible for ensuring that localhost.localdomain is 127.0.0.1).
- Published
- Feb 16, 2018
- Updated
- Jun 16, 2026
- EPSS
- 2.9% · 87th percentile
- CWE
- CWE-290
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.9%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| apple | cups | cpe:2.3:a:apple:cups |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple cupsbefore 2.2.2
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- debian debian linux7.0
- debian debian linux8.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.5 | cups | before 2.2.2-r0 | 2.2.2-r0 |
| Debian:12 | cups | before 2.2.3-2 | 2.2.3-2 |
| Debian:7 | cups | before 1.5.3-5+deb7u7 | 1.5.3-5+deb7u7 |
| Debian:8 | cups | before 1.7.5-11+deb8u3 | 1.7.5-11+deb8u3 |
| Red Hat:enterprise_linux:7::client | cups | before 1:1.6.3-51.el7 | 1:1.6.3-51.el7 |
| Red Hat:enterprise_linux:7::client | cups-client | before 1:1.6.3-51.el7 | 1:1.6.3-51.el7 |
| Red Hat:enterprise_linux:7::client | cups-debuginfo | before 1:1.6.3-51.el7 | 1:1.6.3-51.el7 |
| Red Hat:enterprise_linux:7::client | cups-devel | before 1:1.6.3-51.el7 | 1:1.6.3-51.el7 |
| Red Hat:enterprise_linux:7::client | cups-filesystem | before 1:1.6.3-51.el7 | 1:1.6.3-51.el7 |
| Red Hat:enterprise_linux:7::client | cups-ipptool | before 1:1.6.3-51.el7 | 1:1.6.3-51.el7 |
| Red Hat:enterprise_linux:7::client | cups-libs | before 1:1.6.3-51.el7 | 1:1.6.3-51.el7 |
| Red Hat:enterprise_linux:7::client | cups-lpd | before 1:1.6.3-51.el7 | 1:1.6.3-51.el7 |
| SUSE:OpenStack Cloud 6 | cups | before 1.7.5-20.3.1 | 1.7.5-20.3.1 |
Same product
apple: all recordsOther highest-scoring records for the same primary product.
- CVE-2008-3641The Hewlett-Packard Graphics Language (HPGL) filter in CUPS before 1.3.9 allows remote attackers to execute arbitrary code via crafted pen w47Plan
- CVE-2008-0053Multiple buffer overflows in the HP-GL/2-to-PostScript filter in CUPS before 1.3.6 might allow remote attackers to execute arbitrary code vi42Plan
- CVE-2010-2941ipp.c in cupsd in CUPS 1.4.4 and earlier does not properly allocate memory for attribute values with invalid string data types, which allows41Plan
- CVE-2008-5184The web interface (cgi-bin/admin.c) in CUPS before 1.3.8 uses the guest username when a user is not logged on to the web server, which makes41Plan
- CVE-2012-6094cups (Common Unix Printing System) 'Listen localhost:631' option not honored correctly which could provide unauthorized access to the system40Plan
- CVE-2004-2154CUPS before 1.1.21rc1 treats a Location directive in cupsd.conf as case sensitive, which allows attackers to bypass intended ACLs via a prin40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:cups | 2.2.2-r0 · Alpine:v3.5 | Package registry (OSV) |
| debian:cups | 2.2.3-2 · Debian:12 | Package registry (OSV) |
| red hat:cups | 1:1.6.3-51.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:cups-client | 1:1.6.3-51.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:cups-debuginfo | 1:1.6.3-51.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:cups-devel | 1:1.6.3-51.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:cups-filesystem | 1:1.6.3-51.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:cups-ipptool | 1:1.6.3-51.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:cups-libs | 1:1.6.3-51.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:cups-lpd | 1:1.6.3-51.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:cups | 1.7.5-20.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-290 · Authentication Bypass by SpoofingCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Exploitation of Trusted IdentifiersCAPEC-21likelihood: High · High
- Exploiting Trust in ClientCAPEC-22likelihood: High · High
- Creating a Rogue Certification Authority CertificateCAPEC-459likelihood: Medium · Very High
- Web Services API Signature Forgery Leveraging Hash Function Extension WeaknessCAPEC-461High
- Signature SpoofCAPEC-473
- Signature Spoofing by MisrepresentationCAPEC-476likelihood: Low · High
- Session Credential Falsification through PredictionCAPEC-59likelihood: High · High
- Reusing Session IDs (aka Session Replay)CAPEC-60likelihood: High · High
ATT&CK techniques
- Masquerading: Invalid Code SignatureT1036.001
- Access Token ManipulationT1134
- Access Token Manipulation:Token Impersonation/TheftT1134.001
- Steal Application Access TokenT1528
- Steal Web Session CookieT1539
- Use Alternate Authentication Material:Web Session CookieT1550.004
- Subvert Trust Controls: Code SigningT1553.002
- Adversary-in-the-MiddleT1557
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/apple/cups/commit/afa80cb2b457bf8d64f775bed307588610476c41
- lists.debian.org/debian-lts-announce/2018/02/msg00023.html
- lists.debian.org/debian-lts-announce/2018/07/msg00003.html
- usn.ubuntu.com/3577-1/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.