CVE-2008-5518 Apache Geronimo Application Server multiple directory traversal vulnerabilities

Critical 9.4 Published Updated

Remote attackers with admin access can upload files to arbitrary directories via path traversal in the web console, potentially leading to code execution.

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

What is CVE-2008-5518?

CVE-2008-5518 is a critical path traversal vulnerability in n/a, published on 17 Apr 2009. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Multiple directory traversal vulnerabilities in the web administration console in Apache Geronimo Application Server 2.1 through 2.1.3 on Windows allow remote attackers to upload files to arbitrary directories via directory traversal sequences in the (1) group, (2) artifact, (3) version, or (4) fileType parameter to console/portal//Services/Repository (aka the Services/Repository portlet); the (5) createDB parameter to console/portal/Embedded DB/DB Manager (aka the Embedded DB/DB Manager portlet); or the (6) filename parameter to the createKeystore script in the Security/Keystores portlet.

Weakness: CWE-22

Which versions are affected by CVE-2008-5518?

2 open source packages ship an affected version, including org.apache.geronimo.plugins:console. It affects 1 product.

PackageAffectedFixed in
org.apache.geronimo.plugins:console MavenFrom 2.1.02.1.4
org.apache.geronimo.plugins:console MavenFrom 2.1.02.1.4

Products include Apache Geronimo.

How do I fix CVE-2008-5518?

Upgrade org.apache.geronimo.plugins:console to 2.1.4 or later.

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

Is CVE-2008-5518 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-xm92-rf24-h74w.

Is CVE-2008-5518 in your software?

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

Check your SBOMs for free