CVE-2023-26049

Cookie parsing of quoted values can exfiltrate values from other cookies in Eclipse Jetty

2.4 low EPSS 1.30%

Published 18 Apr 2023 Updated 13 Feb 2025 CNA: GitHub_M

Check your servers for CVE-2023-26049

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-26049 affects jetty.project, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

2.4 low CVSS 3.1 from GitHub_M (CNA)
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
high: the attacker needs an administrative account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 71.2% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

Affected products

As the CNA lists them.

ProductVersions
jetty.project
affected < 9.4.51
affected >= 10.0.0, < 10.0.14
affected >= 11.0.0, < 11.0.14
affected >= 12.0.0.alpha0, < 12.0.0.beta0

Is my server affected?

Find the installed version of jetty.project and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i jetty.project
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2023-26049 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2023-26049

RHEL, Rocky, Alma, Fedora

rpm -q jetty.project
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2023-26049

Alpine

apk list --installed | grep -i jetty.project

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-26049
trivy image --scanners vuln IMAGE | grep CVE-2023-26049

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2023-26049 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.