CVE-2006-2759: Improper Input Validation in Mortbay Jetty

org.mortbay.jetty:jetty Updated 02 Oct 2025

Summary

01/05/2022
Yes i
Moderate
5.3

CVE-2006-2759: Improper Input Validation in Mortbay Jetty. Affects org.mortbay.jetty:jetty versions < 6.0.0. Fixed in 6.0.0. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Mortbay Jetty is a popular open-source web server and servlet container written in Java. It provides a lightweight and scalable platform for hosting Java web applications. The vulnerability in question affects version 6.0.x (jetty6) beta16 of the Jetty package. Mortbay Jetty is widely used in various Maven projects.

Vulnerability Detail

The vulnerability, identified as CVE-2006-2759, is an instance of improper input validation in Mortbay Jetty. It allows remote attackers to read arbitrary script source code by exploiting a flaw in the handling of file extensions. Specifically, an attacker can manipulate the extension of a JSP file by using a capital 'P' or other mixed case manipulations. This manipulation tricks the server into treating the file as a plain text file, thereby exposing the source code. The vulnerability has a CVSSv3 score of 5.3, indicating a moderate severity level.

How To Fix

Minimum fixed version

6.0.0

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 specific workaround mentioned for this vulnerability. However, as a general best practice, it is advisable to ensure that all user input is properly validated and sanitized before processing it. This can help mitigate the risk of similar input validation vulnerabilities.

Conclusion

In conclusion, the vulnerability in Mortbay Jetty (CVE-2006-2759) allows remote attackers to read arbitrary script source code by manipulating file extensions. It is crucial for developers to upgrade to a fixed version of the Jetty package and ensure proper input validation to mitigate the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.mortbay.jetty:jetty →

Share this vulnerability

FAQ

Mortbay Jetty is an open-source web server and servlet container written in Java. It provides a lightweight and scalable platform for hosting Java web applications.

The vulnerability allows remote attackers to read arbitrary script source code, potentially exposing sensitive information and facilitating further attacks.

To fix this vulnerability, you should upgrade to a fixed version of the Jetty package (version 6.0.0 or later) and update your Maven dependencies accordingly.

While no specific workaround is mentioned for this vulnerability, it is recommended to ensure proper input validation and sanitization to mitigate similar risks.

The vulnerability has a CVSSv3 score of 5.3, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for org.mortbay.jetty:jetty.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

6.0.0

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