J-Security Center

Title: Jetty Terminal Escape Sequence in Logs Command Injection Vulnerability

Severity: HIGH

Description:

Jetty is a Java-based webserver available for various operating systems.

Jetty is prone to a command-injection vulnerability because it fails to adequately sanitize user-supplied input written to logfiles via HTTP Content-Length headers. Specifically, the software fails to properly filter escape sequences before writing to logfiles. Attackers can leverage this issue to run arbitrary commands if the log entries are viewed in a terminal.

Affected Products:

  • Jetty Jetty 6.0.2
  • Jetty Jetty 6.1.0pre2
  • Jetty Jetty 6.1.0pre3
  • Jetty Jetty 6.1.1
  • Jetty Jetty 6.1.16
  • Jetty Jetty 6.1.17
  • Jetty Jetty 6.1.2
  • Jetty Jetty 6.1.3
  • Jetty Jetty 6.1.4
  • Jetty Jetty 6.1.5
  • Jetty Jetty 6.1.6
  • Jetty Jetty 6.1.7
  • Jetty Jetty 7.0.0
  • Jetty Jetty 7.0.0.M2
  • Mort Bay Jetty 6.1.16
  • Mort Bay Jetty 6.1.17
  • Mort Bay Jetty 6.1.21
  • Mort Bay Jetty 6.1.6
  • Mort Bay Jetty 6.1.6
  • Mort Bay Jetty 6.1.6 RC0
  • Mort Bay Jetty 6.1.6 RC1
  • Mort Bay Jetty 7.0.0.M2

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.