CVE-2016-4800: Jetty Server Alias Issue Allows Remote Code Execution

Summary

19/10/2018
Yes i
Critical
9.8

CVE-2016-4800: The path normalization mechanism in PathResource class in Eclipse Jetty 9.3.x before 9.3.9 on Windows allows remote attackers to bypass protected resource restrictions and other security constraints via a URL with certai... Affects org.eclipse.jetty:jetty-server versions >= 9.3.0, < 9.3.9. Fixed in 9.3.9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Jetty Server is a popular Java-based web server and servlet container. It provides a lightweight and efficient platform for hosting web applications. The server is widely used in various industries and is known for its performance and scalability. However, a vulnerability has been discovered in Jetty Server versions 9.3.x before 9.3.9 on Windows, which allows remote attackers to bypass protected resource restrictions and execute arbitrary code.

Vulnerability Detail

The vulnerability in Jetty Server is due to an alias issue in the PathResource class. The path normalization mechanism in this class fails to properly handle certain escaped characters in a URL, specifically backslashes. This flaw can be exploited by an attacker to bypass security constraints and gain unauthorized access to protected resources. By crafting a specially crafted request, an unauthenticated remote attacker can execute arbitrary code on the target system, potentially leading to a complete compromise of the server.

How To Fix

Minimum fixed version

9.3.9

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the official patch or upgrade to a fixed version of Jetty Server to address the issue.

Conclusion

The Jetty Server alias issue is a critical vulnerability that allows unauthenticated remote code execution. It is crucial for users to upgrade to Jetty Server version 9.3.9 or later to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.eclipse.jetty:jetty-server →

Share this vulnerability

FAQ

The vulnerability allows unauthenticated remote attackers to execute arbitrary code on the target system, potentially leading to a complete compromise of the server.

Jetty Server versions 9.3.x before 9.3.9 on Windows are affected by this vulnerability.

No, this vulnerability can be exploited by unauthenticated remote attackers.

No, there are no known workarounds for this vulnerability. It is recommended to apply the official patch or upgrade to a fixed version.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your pom.xml file, and Vulert will analyze it for any open-source vulnerabilities, including this Jetty Server vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for org.eclipse.jetty:jetty-server.

How To Fix

Minimum fixed version

9.3.9

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback