cbcvebase.
CVE-2004-0493
published 2004-08-06

CVE-2004-0493: The ap_get_mime_headers_core function in Apache httpd 2.0.49 allows remote attackers to cause a denial of service (memory exhaustion), and possibly an integer…

PriorityP346medium6.4CVSS 2.0
AVNACLAuNCNIPAP
EXPLOIT
EPSS
84.78%
99.7th percentile
The ap_get_mime_headers_core function in Apache httpd 2.0.49 allows remote attackers to cause a denial of service (memory exhaustion), and possibly an integer signedness error leading to a heap-based buffer overflow on 64 bit systems, via long header lines with large numbers of space or tab characters.

Affected

17 ranges
VendorProductVersion rangeFixed in
apachehttp_server
apachehttp_server
apachehttp_server
avayaconverged_communications_server
avayas8300
avayas8500
avayas8700
debianapache2< apache2 2.0.50-1 (bookworm)apache2 2.0.50-1 (bookworm)
gentoolinux
ibmhttp_server
ibmhttp_server
ibmhttp_server
ibmhttp_server
ibmhttp_server
trustixsecure_linux
trustixsecure_linux
trustixsecure_linux

Detection & IOCsextracted from sources · hover to see the quote

commandGET / HTTP/1.0
commandGET / HTTP/1.1
  • Detect HTTP requests containing an abnormally large number of header continuation lines (lines beginning with space or tab) targeting Apache 2.0.49; memory exhaustion or heap overflow may result on 64-bit systems.
  • Monitor for HTTP connections that send thousands of folded (space/tab-prefixed) header lines each containing thousands of bytes before sending the Host and Content-Length headers — characteristic of the exploit pattern.
  • Alert on HTTP/1.1 requests where a single logical header is folded across an extreme number of continuation lines (up to 2,000,000 iterations of ~8 KB each), indicating exploitation of ap_get_mime_headers_core.
  • The vulnerable function is ap_get_mime_headers_core in Apache httpd 2.0.49; upgrade to 2.0.50-1 or later to remediate.
  • ·The heap-based buffer overflow impact is conditional on the target being a 64-bit system; on 32-bit systems the vulnerability results only in memory exhaustion (DoS).

CVSS provenance

nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:P
osv6.4MEDIUM
vendor_debian6.4MEDIUM
vendor_redhat6.4MEDIUM
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.