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
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2009-4611
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 532733 556593
Blocks:
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:
Environment:
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:

  http://www.ush.it/2009/10/25/jetty-6x-and-7x-multiple-vulnerabilities/

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:
  http://fisheye.codehaus.org/changelog/jetty/?cs=5628
  http://fisheye.codehaus.org/changelog/jetty/?cs=5631

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:
  http://www.ush.it/team/ush/hack-jetty6x7x/jetty-adv.txt

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.