cbcvebase.
CVE-2002-1368
published 2002-12-26

CVE-2002-1368: Common Unix Printing System (CUPS) 1.1.14 through 1.1.17 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code by…

PriorityP264high7.5CVSS 2.0
AVNACLAuNCPIPAP
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
15.47%
96.4th percentile
Common Unix Printing System (CUPS) 1.1.14 through 1.1.17 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code by causing negative arguments to be fed into memcpy() calls via HTTP requests with (1) a negative Content-Length value or (2) a negative length in a chunked transfer encoding.

Affected

20 ranges
VendorProductVersion rangeFixed in
applecups>= 0 < 1.1.18-11.1.18-1
applecups>= 0 < 1.1.18-11.1.18-1
applecups>= 0 < 1.1.18-11.1.18-1
applecups>= 0 < 1.1.18-11.1.18-1
applemac_os_x
applemac_os_x
debiancups< cups 1.1.18-1 (bookworm)cups 1.1.18-1 (bookworm)
easy_software_productscups
easy_software_productscups
easy_software_productscups
easy_software_productscups
easy_software_productscups
easy_software_productscups
easy_software_productscups
easy_software_productscups
easy_software_productscups
easy_software_productscups
easy_software_productscups
easy_software_productscups
easy_software_productscups

Detection & IOCsextracted from sources · hover to see the quote

port631
commandPOST /printers HTTP/1.1 Host: localhost Authorization: Basic AAA Content-Length: -1
commandPOST /printers HTTP/1.1 Host: localhost Authorization: Basic AAA Transfer-Encoding: chunked - - - - -FFFFFFFE
path/printers
  • Detect HTTP POST requests to CUPS (port 631) containing a negative Content-Length header value, which triggers a negative memcpy() argument.
  • Detect HTTP POST requests to CUPS (port 631) using chunked Transfer-Encoding with a negative chunk size (e.g., FFFFFFFE in hex), indicating exploitation of the chunked-encoding negative-length vector.
  • This vulnerability was reported as actively exploited in the wild as of January 2003; prioritize detection on any CUPS 1.1.14–1.1.17 instances still exposed on port 631.
  • ·The exploit targets CUPS versions 1.1.14 through 1.1.17 only; versions fixed at 1.1.18-1 and later are not affected.
  • ·The exploit PoC connects directly to localhost:631, but the vulnerability is exploitable by any remote attacker who can reach the cupsd service on port 631; firewall rules restricting access to this port are a key mitigation.
  • ·Code execution impact may be platform-dependent; BSD systems are specifically called out as likely exploitable for arbitrary code execution beyond DoS.

CVSS provenance

nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv7.5HIGH
vulncheck7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

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.