PT-2005-3032 · Apache+2 · Jakarta Tomcat+3

Published

2005-06-30

·

Updated

2022-05-01

·

CVE-2005-2090

CVSS v2.0

4.3

Medium

VectorAV:N/AC:M/Au:N/C:N/I:P/A:N
Name of the Vulnerable Software and Affected Versions: Jakarta Tomcat versions 4.1.24 through 5.0.19
Description: The issue allows remote attackers to poison the web cache, bypass web application firewall protection, and conduct XSS attacks via an HTTP request with both a "Transfer-Encoding: chunked" header and a Content-Length header. This causes Tomcat to incorrectly handle and forward the body of the request, allowing the receiving server to process it as a separate HTTP request. The problem arises when multiple components, such as firewalls, caches, proxies, and Tomcat, process a sequence of requests where one or more requests contain multiple content-length headers, and these components make different decisions as to which content-length header to use.
Recommendations: For Jakarta Tomcat versions 4.1.24 through 5.0.19, consider updating to a version that returns a 400 error for requests with multiple content-length headers, thus rejecting such requests as invalid. As a temporary workaround, consider restricting access to the Content-Length header in HTTP requests to minimize the risk of exploitation.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2005-2090
GHSA-F2GQ-P6QV-CCW4
HPSBUX02262
RHSA-2007:0326
RHSA-2007:0327
RHSA-2007:0328
RHSA-2007:0340
RHSA-2007:0360
RHSA-2007:1069
RHSA-2007_0327
RHSA-2008:0261
RHSA-2008:0524
RHSA-2010:0602

Affected Products

Apache Tomcat
Hp-Ux
Jakarta Tomcat
Red Hat