Bug 532675 (CVE-2009-4611) - CVE-2009-4611 jetty: escape sequence injection to stack traces
Summary: CVE-2009-4611 jetty: escape sequence injection to stack traces
Alias: CVE-2009-4611
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 532733 556593
TreeView+ depends on / blocked
Reported: 2009-11-03 13:03 UTC by Tomas Hoger
Modified: 2019-09-29 12:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-11-05 17:20:49 UTC

Attachments (Terms of Use)
Local copy of the advisory (15.11 KB, text/plain)
2009-11-03 13:04 UTC, Tomas Hoger
no flags Details

Description Tomas Hoger 2009-11-03 13:03:03 UTC
ush.it reported multiple flaws affecting jetty 6.x and 7.x:


Issues reported include:

 E) "Cookie Dump Servlet" escape sequence injection
    (Affected versions: Any)

 F) Http Content-Length header escape sequence injection
    (Affected versions: Any)

An attacker-supplied input containing special characters may be copied to stack traces printed to jetty log when exception is raised due to some problem with parsing user input (non-numeric Max-Age value in case of demo Cookie servlet (E) or non-numeric Content-Length HTTP header value (F)).  When log file is later viewed in a terminal that understands special escape sequences (most graphical terminal emulators), those escape sequences may cause terminal to run an arbitrary command.

Upstream bug:
  http://jira.codehaus.org/browse/JETTY-1129 (no useful info)

Upstream commits referencing JETTY-1129:

Comment 1 Tomas Hoger 2009-11-03 13:04:28 UTC
Created attachment 367294 [details]
Local copy of the advisory

Downloaded on 2009-11-03 from:

Comment 2 Tomas Hoger 2009-11-03 13:14:35 UTC
It's not clear if 5.x versions may be affected by some variant of this problem.

Comment 3 Jeff Johnston 2009-11-03 20:19:22 UTC
Upstream patches listed above applied to Fedora 12 and rawhide.

Comment 5 Vincent Danen 2010-11-05 17:20:49 UTC
This is fixed in upstream 6.1.22 and patched in Fedora 13:

* Tue Nov 03 2009 Jeff Johnston 6.1.21-3
- Security issues - Resolves #532675, #5326565 

and 6.1.20-5 on Fedora 12.

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