Improper input validation in Mort Bay Jetty
Date: 2022-05
Affected: maven/org.mortbay.jetty:jetty, maven/org.mortbay.jetty:jetty
Attack vector: rce
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2007-5613
CVE-2007-5614
CVE-2009-4611
CWE: CWE-20
CWE-287
CWE-79
CVSS: 7.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)

Mort Bay Jetty 6.x through 6.1.22 and 7.0.0 writes backtrace data without sanitizing non-printable characters, which might allow remote attackers to modify a window's title, or possibly execute arbitrary commands or overwrite files, via an HTTP request containing an escape sequence for a terminal emulator, related to (1) a string value in the Age parameter to the default URI for the Cookie Dump Servlet in test-jetty-webapp/src/main/java/com/acme/CookieDump.java under cookie/, (2) an alphabetic value in the A parameter to jsp/expr.jsp, or (3) an alphabetic value in the Content-Length HTTP header to an arbitrary application.


Mitigations:

Architectural layers (MAESTRO):