CVE-2019-0225 Improper Limitation of a Pathname ('Path Traversal') in org.apache.jspwiki:jspwiki-war

High 7.5 Published Updated

Attackers can use crafted URLs to access files under the root directory, exposing registered user details in Apache JSPWiki.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-0225?

CVE-2019-0225 is a high-severity path traversal vulnerability in Apache JSPWiki, published on 28 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A specially crafted url could be used to access files under the ROOT directory of the application on Apache JSPWiki 2.9.0 to 2.11.0.M2, which could be used by an attacker to obtain registered users' details.

Weakness: CWE-22

Which versions are affected by CVE-2019-0225?

2 open source packages ship an affected version, including org.apache.jspwiki:jspwiki-war. It affects 1 product.

PackageAffectedFixed in
org.apache.jspwiki:jspwiki-war MavenFrom 2.9.02.11.0.M3
org.apache.jspwiki:jspwiki-war MavenFrom 2.9.02.11.0.M3

Products include Apache Jspwiki.

How do I fix CVE-2019-0225?

Upgrade org.apache.jspwiki:jspwiki-war to 2.11.0.M3 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2019-0225 being exploited?

There is no known exploitation of CVE-2019-0225 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-pffw-p2q5-w6vh.

Is CVE-2019-0225 in your software?

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

Check your SBOMs for free