Browse / CVEs / CVE-2021-34370
CVE-2021-34370· accela / civic platform· CWE-79
Accela Civic Platform <=21.1 - Cross-Site Scripting
Accela Civic Platform through 21.1 contains a cross-site scripting vulnerability via ssoAdapter/logoutAction.do successURL.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected application.
Fix
Upgrade to a patched version of Accela Civic Platform (version >21.1) that includes proper input validation and sanitization.
How to confirm it
Send: GET {{BaseURL}}/ssoAdapter/logoutAction.do?servProvCode=SAFVC&successURL=https://interact.sh/
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$/Run it with nuclei: nuclei -id CVE-2021-34370 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2021-34370
info:
name: Accela Civic Platform <=21.1 - Cross-Site Scripting
author: 0x_Akoko
severity: medium
description: Accela Civic Platform through 21.1 contains a cross-site scripting vulnerability via ssoAdapter/logoutAction.do successURL.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected application.
remediation: |
Upgrade to a patched version of Accela Civic Platform (version >21.1) that includes proper input validation and sanitization.
reference:
- https://www.exploit-db.com/exploits/49990
- https://www.accela.com/civic-platform/
- https://gist.github.com/0xx7/7e9f1b725f7ff98b9239d3cb027b7dc8
- https://nvd.nist.gov/vuln/detail/CVE-2021-34370
- 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-34370
cwe-id: CWE-79
epss-score: 0.09996
epss-percentile: 0.95643
cpe: cpe:2.3:a:accela:civic_platform:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: accela
product: civic_platform
tags: cve,cve2021,xss,redirect,accela,edb,vuln
http:
- method: GET
path:
- "{{BaseURL}}/ssoAdapter/logoutAction.do?servProvCode=SAFVC&successURL=https://interact.sh/"
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$'References
- https://www.exploit-db.com/exploits/49990
- https://www.accela.com/civic-platform/
- https://gist.github.com/0xx7/7e9f1b725f7ff98b9239d3cb027b7dc8
- https://nvd.nist.gov/vuln/detail/CVE-2021-34370
- https://github.com/ARPSyndicate/cvemon
Use this check only on systems you are authorised to test. Where the data comes from