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

Sbordet

·

Published

2023-09-14

·

Updated

2026-05-18

·

CVE-2023-36479

CVSS v3.1

4.3

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions Eclipse Jetty versions prior to 9.4.52 Eclipse Jetty versions prior to 10.0.16 Eclipse Jetty versions prior to 11.0.16 Eclipse Jetty versions prior to 12.0.0-beta2
Description The issue is related to the formation of a command line that contains multiple tokens instead of one, which can allow a remote attacker to execute arbitrary code. This occurs when a user sends a request to the org.eclipse.jetty.servlets.CGI Servlet for a binary with a space in its name. The servlet will escape the command by wrapping it in quotation marks, and if the original binary name provided by the user contains a quotation mark followed by a space, the resulting command line will contain multiple tokens instead of one. For example, if a request references a binary called file" name "here, the escaping algorithm will generate the command line string "file" name "here", which will invoke the binary named file, not the one that the user requested.
Recommendations For Eclipse Jetty versions prior to 9.4.52, update to version 9.4.52 or later. For Eclipse Jetty versions prior to 10.0.16, update to version 10.0.16 or later. For Eclipse Jetty versions prior to 11.0.16, update to version 11.0.16 or later. For Eclipse Jetty versions prior to 12.0.0-beta2, update to version 12.0.0-beta2 or later. As a temporary workaround, consider not using the org.eclipse.jetty.servlets.CGI Servlet, and instead use Fast CGI support.

Exploit

Fix

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

Weakness Enumeration

Related Identifiers

ALT-PU-2024-16002
ALT-PU-2024-16022
ALT-PU-2024-16072
BDU:2024-05833
CLEANSTART-2026-SQ91016
CLEANSTART-2026-WK99982
CVE-2023-36479
DLA-3592-1
DSA-5507-1
GHSA-3GH6-V5V9-6V9J
OESA-2024-2268
OESA-2024-2297
OESA-2024-2298
OESA-2024-2299
OESA-2024-2300
OPENSUSE-SU-2023_4210-1
OPENSUSE-SU-2024:13329-1
RHSA-2024:0797
RHSA-2024:2010
SUSE-SU-2023:4210-1

Affected Products

Alt Linux
Astra Linux
Eclipse Jetty
Red Os
Suse