Bug 2236341 (CVE-2023-26049) - CVE-2023-26049 jetty-server: Cookie parsing of quoted values can exfiltrate values from other cookies
Summary: CVE-2023-26049 jetty-server: Cookie parsing of quoted values can exfiltrate v...
Keywords:
Status: NEW
Alias: CVE-2023-26049
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Sayan Biswas
QA Contact:
URL:
Whiteboard:
Depends On: 2236342 2236676 2236677 2236678 2238956
Blocks: 2187890
TreeView+ depends on / blocked
 
Reported: 2023-08-31 00:42 UTC by Patrick Del Bello
Modified: 2024-05-02 18:49 UTC (History)
93 users (show)

Fixed In Version: jetty-server 9.4.51, jetty-server 10.0.14, jetty-server 11.0.14, jetty-server 12.0.0.beta0
Doc Type: ---
Doc Text:
A flaw was found in the jetty-server package. 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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:5165 0 None None None 2023-09-14 09:52:01 UTC
Red Hat Product Errata RHSA-2023:5441 0 None None None 2023-10-04 11:59:42 UTC
Red Hat Product Errata RHSA-2023:7637 0 None None None 2023-12-04 17:57:27 UTC
Red Hat Product Errata RHSA-2023:7638 0 None None None 2023-12-04 17:59:16 UTC
Red Hat Product Errata RHSA-2023:7639 0 None None None 2023-12-04 17:56:48 UTC
Red Hat Product Errata RHSA-2023:7641 0 None None None 2023-12-04 18:02:23 UTC
Red Hat Product Errata RHSA-2024:0778 0 None None None 2024-02-12 10:37:27 UTC
Red Hat Product Errata RHSA-2024:0797 0 None None None 2024-02-13 14:42:51 UTC
Red Hat Product Errata RHSA-2024:0798 0 None None None 2024-02-13 16:53:42 UTC
Red Hat Product Errata RHSA-2024:0799 0 None None None 2024-02-13 16:52:32 UTC
Red Hat Product Errata RHSA-2024:0800 0 None None None 2024-02-13 16:53:01 UTC
Red Hat Product Errata RHSA-2024:0801 0 None None None 2024-02-13 16:54:18 UTC
Red Hat Product Errata RHSA-2024:0804 0 None None None 2024-02-13 17:08:16 UTC

Description Patrick Del Bello 2023-08-31 00:42:54 UTC
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.

https://github.com/eclipse/jetty.project/security/advisories/GHSA-p26g-97m4-6q7c
https://www.rfc-editor.org/rfc/rfc6265
https://github.com/eclipse/jetty.project/pull/9352
https://github.com/eclipse/jetty.project/pull/9339
https://www.rfc-editor.org/rfc/rfc2965
https://security.netapp.com/advisory/ntap-20230526-0001/

Comment 1 Patrick Del Bello 2023-08-31 00:43:08 UTC
Created log4j tracking bugs for this issue:

Affects: fedora-all [bug 2236342]

Comment 5 errata-xmlrpc 2023-09-14 09:51:56 UTC
This issue has been addressed in the following products:

  Red Hat AMQ Streams 2.5.0

Via RHSA-2023:5165 https://access.redhat.com/errata/RHSA-2023:5165

Comment 7 errata-xmlrpc 2023-10-04 11:59:36 UTC
This issue has been addressed in the following products:

  RHINT Camel-Springboot 4.0.0

Via RHSA-2023:5441 https://access.redhat.com/errata/RHSA-2023:5441

Comment 8 errata-xmlrpc 2023-12-04 17:56:44 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9

Via RHSA-2023:7639 https://access.redhat.com/errata/RHSA-2023:7639

Comment 9 errata-xmlrpc 2023-12-04 17:57:21 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7

Via RHSA-2023:7637 https://access.redhat.com/errata/RHSA-2023:7637

Comment 10 errata-xmlrpc 2023-12-04 17:59:11 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8

Via RHSA-2023:7638 https://access.redhat.com/errata/RHSA-2023:7638

Comment 11 errata-xmlrpc 2023-12-04 18:02:19 UTC
This issue has been addressed in the following products:

  EAP 7.4.14

Via RHSA-2023:7641 https://access.redhat.com/errata/RHSA-2023:7641

Comment 14 errata-xmlrpc 2024-02-12 10:37:22 UTC
This issue has been addressed in the following products:

  OpenShift Developer Tools and Services for OCP 4.12

Via RHSA-2024:0778 https://access.redhat.com/errata/RHSA-2024:0778

Comment 15 errata-xmlrpc 2024-02-13 14:42:47 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.14 for RHEL 8

Via RHSA-2024:0797 https://access.redhat.com/errata/RHSA-2024:0797

Comment 16 errata-xmlrpc 2024-02-13 16:52:27 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.6 for RHEL 8

Via RHSA-2024:0799 https://access.redhat.com/errata/RHSA-2024:0799

Comment 17 errata-xmlrpc 2024-02-13 16:52:56 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.6 for RHEL 9

Via RHSA-2024:0800 https://access.redhat.com/errata/RHSA-2024:0800

Comment 18 errata-xmlrpc 2024-02-13 16:53:37 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.6 for RHEL 7

Via RHSA-2024:0798 https://access.redhat.com/errata/RHSA-2024:0798

Comment 19 errata-xmlrpc 2024-02-13 16:54:14 UTC
This issue has been addressed in the following products:

  RHEL-8 based Middleware Containers

Via RHSA-2024:0801 https://access.redhat.com/errata/RHSA-2024:0801

Comment 20 errata-xmlrpc 2024-02-13 17:08:13 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On

Via RHSA-2024:0804 https://access.redhat.com/errata/RHSA-2024:0804

Comment 21 Paramvir jindal 2024-04-03 03:52:56 UTC
Marking EAP-8 as not affected because EAP 8 GA was released with the fixed version.


Note You need to log in before you can comment on or make changes to this bug.