QID 730281

Date Published: 2021-11-24

QID 730281: Eclipse Jetty Directory Hijacking Vulnerability (Bug 567921)

Eclipse Jetty is a Java HTTP server and Java Servlet container. While Web Servers are usually associated with serving documents to people, Jetty is now often used for machine to machine communications, usually within larger software frameworks.

CVE-2020-27216: A vulnerability in jetty has been reported where it's creation of a temporary directory can be hijacked by a local attacker with access to /tmp.

Versions Affected:
Jetty versions 1.0 thru 9.4.32.v20200930
Jetty versions from 10.0.0.alpha1 thru 10.0.0.beta2
Jetty versions from 11.0.0.alpha1 thru 11.0.0.beta2

QID Detection Logic:(Unauthenticated)
It looks at http banner to check for vulnerable version of Jetty

Successful exploitation of this vulnerability may affect the Confidentiality, Integrity and Availability.

  • CVSS V3 rated as High - 7 severity.
  • CVSS V2 rated as Medium - 4.4 severity.
  • Solution

    Customers are advised to refer to Bug 567921 for more information.Workaround:
    Set a temporary directory, either for the server or the context, to a directory outside of the shared temporary file system.

    Vendor References

    CVEs related to QID 730281

    Software Advisories
    Advisory ID Software Component Link
    Bug 567921 URL Logo bugs.eclipse.org/bugs/show_bug.cgi?id=567921