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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
Exploit-DB 1
- phpPgAdmin 4.2.1 - '_language' Local File Inclusion EDB-7363 · webapps · Dec 6, 2008 · verified
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.
- phpPgAdmin <=4.2.1 - Local File Inclusion http/cves/2008/CVE-2008-5587.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 2
- DSA-1693-1 phppgadmin - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10035-1 phpPgAdmin-5.1-5.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- openSUSE-SU-2012:0493 vendor-advisory
- phppgadmin-index-file-include(47140) vdb-entry
- 7363 exploit
- 33014 third-party-advisory
- 32670 vdb-entry
- SUSE-SR:2009:004 vendor-advisory
- 4737 third-party-advisory
- 33263 third-party-advisory
- DSA-1693 vendor-advisory