CVE-2008-5587 Path traversal in n/a

Medium 4.3 Published Updated

Remote attackers can read arbitrary files via directory traversal in phpPgAdmin when register_globals is enabled.

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

What is CVE-2008-5587?

CVE-2008-5587 is a medium-severity path traversal vulnerability in n/a, published on 16 Dec 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in libraries/lib.inc.php in phpPgAdmin 4.2.1 and earlier, when register_globals is enabled, allows remote attackers to read arbitrary files via a .. (dot dot) in the _language parameter to index.php.

Weakness: CWE-22

Which versions are affected by CVE-2008-5587?

It affects 1 product.

Products include Phppgadmin Phppgadmin.

How do I fix CVE-2008-5587?

Upgrade to a fixed version.

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

Is CVE-2008-5587 being exploited?

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

Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.

Sources

Also known as DEBIAN-CVE-2008-5587, GHSA-v758-3cg3-fww7.

Is CVE-2008-5587 in your software?

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

Check your SBOMs for free