PT-2023-5111 · Eclipse+4 · Jetty+4

Jmcc0Nn3Ll

·

Published

2023-04-18

·

Updated

2026-05-18

·

CVE-2023-26049

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Jetty versions prior to 9.4.51 Jetty versions prior to 10.0.14 Jetty versions prior to 11.0.14 Jetty versions prior to 12.0.0.beta0
Description Nonstandard cookie parsing in Jetty may allow an attacker to smuggle cookies within other cookies, or otherwise perform unintended behavior by tampering with the cookie parsing mechanism. If Jetty sees a cookie VALUE that starts with " (double quote), it will continue to read the cookie string until it sees a closing quote -- even if a semicolon is encountered. So, a cookie header such as: DISPLAY LANGUAGE="b; JSESSIONID=1337; c=d" will be parsed as one cookie, with the name DISPLAY LANGUAGE and a value of b; JSESSIONID=1337; c=d instead of 3 separate cookies. This has security implications because if, say, JSESSIONID is an HttpOnly cookie, and the DISPLAY LANGUAGE cookie value is rendered on the page, an attacker can smuggle the JSESSIONID cookie into the DISPLAY LANGUAGE cookie and thereby exfiltrate it. This is significant when an intermediary is enacting some policy based on cookies, so a smuggled cookie can bypass that policy yet still be seen by the Jetty server or its logging system.
Recommendations For versions prior to 9.4.51, upgrade to version 9.4.51 or later. For versions prior to 10.0.14, upgrade to version 10.0.14 or later. For versions prior to 11.0.14, upgrade to version 11.0.14 or later. For versions prior to 12.0.0.beta0, upgrade to version 12.0.0.beta0 or later. As a temporary workaround, consider restricting access to sensitive cookies until a patch is available. Avoid using the DISPLAY LANGUAGE cookie in a way that could allow an attacker to smuggle other cookies into it.

Exploit

Fix

Information Disclosure

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

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-16002
ALT-PU-2024-16022
ALT-PU-2024-16072
BDU:2023-05682
CLEANSTART-2026-SQ91016
CLEANSTART-2026-WK99982
CVE-2023-26049
DLA-3592-1
DSA-5507-1
GHSA-P26G-97M4-6Q7C
OPENSUSE-SU-2024:12949-1
RHSA-2023:7637
RHSA-2023:7638
RHSA-2023:7639
RHSA-2024:0778
RHSA-2024:0797
RHSA-2024:0798
RHSA-2024:0799
RHSA-2024:0800
SUSE-SU-2023:2539-1

Affected Products

Alt Linux
Astra Linux
Jetty
Red Os
Suse