Miggo Logo

CVE-2005-3747: Mortbay Jetty Discloses JSP Source Code

N/A

CVSS Score

Basic Information

EPSS Score
0.94737%
Published
5/1/2022
Updated
9/18/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
-
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.mortbay.jetty:jettymaven< 5.1.65.1.6

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability involves improper handling of URL-encoded backslashes (%5C) in JSP requests. This suggests two key failure points:

  1. JspServlet.service() - Entry point for JSP processing, which would need to validate the request path before compilation.
  2. HttpRequest.getPath() - Core path resolution method where improper decoding could introduce filesystem backslashes (particularly impactful on Windows).

While no patch details are available, these functions align with Jetty's architecture and the vulnerability pattern: failure to normalize paths before JSP processing checks would allow serving source code instead of executing the JSP. The medium confidence reflects inference from vulnerability mechanics rather than direct patch analysis.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

Unsp**i*i** vuln*r**ility in J*tty ***or* *.*.* *llows r*mot* *tt**k*rs to o*t*in sour** *o** o* JSP p***s, possi*ly involvin* r*qu*sts *or .jsp *il*s wit* URL-*n*o*** ***ksl*s* (`%**`) ***r**t*rs. NOT*: t*is mi**t ** t** s*m* issu* *s *V*-****-****

Reasoning

T** vuln*r**ility involv*s improp*r **n*lin* o* URL-*n*o*** ***ksl*s**s (%**) in JSP r*qu*sts. T*is su***sts two k*y **ilur* points: *. JspS*rvl*t.s*rvi**() - *ntry point *or JSP pro**ssin*, w*i** woul* n*** to v*li**t* t** r*qu*st p*t* ***or* *ompil