Bug 532675 - (CVE-2009-4611) CVE-2009-4611 jetty: escape sequence injection to stack traces
CVE-2009-4611 jetty: escape sequence injection to stack traces
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,source=debian,reporte...
: Security
Depends On: 532733 556593
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-03 08:03 EST by Tomas Hoger
Modified: 2010-11-05 13:20 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-11-05 13:20:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


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

  None (edit)
Description Tomas Hoger 2009-11-03 08:03:03 EST
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 08:04:28 EST
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 08:14:35 EST
It's not clear if 5.x versions may be affected by some variant of this problem.
Comment 3 Jeff Johnston 2009-11-03 15:19:22 EST
Upstream patches listed above applied to Fedora 12 and rawhide.
Comment 5 Vincent Danen 2010-11-05 13:20:49 EDT
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.