CVE-2002-1533 Jetty Javascript Inclusion Vulnerability

Medium 5.8 Published Updated

Remote attackers can inject arbitrary HTML or script via crafted JSP filenames, potentially executing code in victim browsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2002-1533?

CVE-2002-1533 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 Mar 2003. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in Jetty JSP servlet engine allows remote attackers to insert arbitrary HTML or script via an HTTP request to a .jsp file whose name contains the malicious script and some encoded linefeed characters (%0a).

Which versions are affected by CVE-2002-1533?

2 open source packages ship an affected version, including org.mortbay.jetty:jetty. It affects 1 product.

PackageAffectedFixed in
org.mortbay.jetty:jetty MavenAll versions4.1.1
org.mortbay.jetty:jetty MavenAll versions4.1.1

Products include Jetty Jetty.

How do I fix CVE-2002-1533?

Upgrade org.mortbay.jetty:jetty to 4.1.1 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2002-1533 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2002-1533 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-5mq8-h82p-wjf2.

Is CVE-2002-1533 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free