Skip to content
OpenAdvisories
Unscored Scanner template Public exploit CVE-2008-5587 EUVD-2008-5562GHSA-v758-3cg3-fww7

Directory traversal vulnerability in libraries/lib.inc.php in phpPgAdmin 4.2.1 and earlier, when register_globals is enabled, allows remote…

Published Dec 16, 2008 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 phppgadmin 4.2.1-1.1 —
Debian 13 phppgadmin 4.2.1-1.1 —
Debian 4.0 phppgadmin 4.0.1-3.1etch1 DSA-1693-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed phpPgAdmin 5.1-5.1 openSUSE-SU-2024:10035-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Advisories 2

References