CVE-2024-6162

Undertow: url-encoded request path information can be broken on ajp-listener

Published Jun 20, 2024 CVSS 3.1 · 7.5 High EPSS 1.7% KEV · Not listed
Description
A vulnerability was found in Undertow, where URL-encoded request paths can be mishandled during concurrent requests on the AJP listener. This issue arises because the same buffer is used to decode the paths for multiple requests simultaneously, leading to incorrect path information being processed. As a result, the server may attempt to access the wrong path, causing errors such as "404 Not Found" or other application failures. This flaw can potentially lead to a denial of service, as legitimate resources become inaccessible due to the path mix-up.

Remediation

Vendor Workaround

To mitigate this issue, you can either switch to a different listener like the http-listener, or adjust the AJP listener configuration. By setting decode-url="false" on the AJP listener and configuring a separate URL decoding filter, you can prevent the path decoding errors. This adjustment ensures that each request is processed correctly without interference from concurrent requests.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1991 A vulnerability was found in Undertow, where URL-encoded request paths can be mishandled during concurrent requests on the AJP listener. This issue arises because the same buffer is used to decode the paths for multiple requests simultaneously, leading to incorrect path information being processed. As a result, the server may attempt to access the wrong path, causing errors such as "404 Not Found" or other application failures. This flaw can potentially lead to a denial of service, as legitimate resources become inaccessible due to the path mix-up.
Github GHSA Github GHSA GHSA-9442-gm4v-r222 Undertow's url-encoded request path information can be broken on ajp-listener
History
Type Values Removed Values Added
Weaknesses CWE-488
Type Values Removed Values Added
CPEs cpe:/a:redhat:apache_camel_spring_boot:4.4.1
Type Values Removed Values Added
CPEs cpe:/a:redhat:apache_camel_spring_boot:4.4::el6
Type Values Removed Values Added
First Time appeared Redhat apache Camel Hawtio
CPEs cpe:/a:redhat:rhboac_hawtio:4 cpe:/a:redhat:apache_camel_hawtio:4
Vendors & Products Redhat rhboac Hawtio
Redhat apache Camel Hawtio
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak:22 cpe:/a:redhat:build_keycloak:
Type Values Removed Values Added
CPEs cpe:/a:redhat:jboss_enterprise_application_platform:8.0