Vulnerability
CVE-2023-26049
Jetty is a java based web server and servlet engine. 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. This issue has been addressed in versions 9.4.51, 10.0.14, 11.0.14, and 12.0.0.beta0 and users are advised to upgrade. There are no known workarounds for this issue.
38 advisories report this vulnerability, across 8 ecosystems.
Advisories
- CGA-23f3-j57q-rfv9
- CGA-2qc2-x278-q6rh
- CGA-38qx-w72w-hxp2
- CGA-3r85-qjgw-6wvv
- CGA-4pp4-5j56-4vph
- CGA-7j5r-xx4v-3hmw
- CGA-82w3-wcgr-7c57
- CGA-97vw-9gh3-fr6m
- CGA-fj25-q2cp-377w
- CGA-g7j7-v3jx-3cfg
- CGA-gf64-84rh-g7wq
- CGA-h69g-9f87-qjjq
- CGA-hvm7-xxv9-h7wc
- CGA-j2j4-h2hh-482m
- CGA-jh3m-v4rw-h2c6
- CGA-jr9q-7m65-87qp
- CGA-mhhg-gggv-vvwm
- CGA-php4-v35v-phpx
- CGA-v9pc-j8h4-69wh
- CGA-vcgx-59j8-6gx2
- CGA-wg4j-hjv8-qmhw
- CGA-wm8g-88hq-m3q8
-
DEBIAN-CVE-2023-26049
Jetty is a java based web server and servlet engine. Nonstandard cookie parsing in Jetty may allow an attacker to smuggle cookies within other cookies, or otherwise perform unintended behavior by tampering with the…
-
DLA-3592-1
jetty9 - security update
-
DSA-5507-1
jetty9 - security update
-
GHSA-p26g-97m4-6q7c
Eclipse Jetty's cookie parsing of quoted values can exfiltrate values from other cookies
-
RHSA-2023:7637
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.14 on RHEL 7 security update
-
RHSA-2023:7638
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.14 on RHEL 8 security update
-
RHSA-2023:7639
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.14 on RHEL 9 security update
-
RHSA-2024:0778
Red Hat Security Advisory: Jenkins and Jenkins-2-plugins security update
-
RHSA-2024:0797
Red Hat Security Advisory: Satellite 6.14.2 Async Security Update
-
RHSA-2024:0798
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.7 security update on RHEL 7
-
RHSA-2024:0799
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.7 security update on RHEL 8
-
RHSA-2024:0800
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.7 security update on RHEL 9
-
RHVEX-CVE-2023-26049
jetty-server: Cookie parsing of quoted values can exfiltrate values from other cookies
-
SUSE-SU-2023:2539-1
Security update for jetty-minimal
-
SUSEVEX-CVE-2023-26049
Jetty is a java based web server and servlet engine. Nonstandard cookie parsing in Jetty may allow an attacker to smuggle cookies within other cookies, or otherwise perform unintended behavior by tampering with the…
-
UBUNTU-CVE-2023-26049
Jetty is a java based web server and servlet engine. Nonstandard cookie parsing in Jetty may allow an attacker to smuggle cookies within other cookies, or otherwise perform unintended behavior by tampering with the…
References
- https://github.com/eclipse/jetty.project/pull/9339
- https://github.com/eclipse/jetty.project/pull/9352
- https://github.com/eclipse/jetty.project/security/advisories/GHSA-p26g-97m4-6q7c
- https://lists.debian.org/debian-lts-announce/2023/09/msg00039.html
- https://security.netapp.com/advisory/ntap-20230526-0001/
- https://www.debian.org/security/2023/dsa-5507
- https://www.rfc-editor.org/rfc/rfc2965
- https://www.rfc-editor.org/rfc/rfc6265