id: CVE-2021-21087 info: name: Adobe ColdFusion - Cross-Site Scripting author: Daviey severity: medium description: | Adobe Coldfusion versions 2016 (update 16 and earlier), 2018 (update 10 and earlier) and 2021.0.0.323925 are affected by an Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability. An attacker could abuse this vulnerability to execute arbitrary JavaScript code in context of the current user. Exploitation of this issue requires user interaction. remediation: | Apply the latest security patches or updates provided by Adobe to mitigate this vulnerability. reference: - https://helpx.adobe.com/security/products/coldfusion/apsb21-16.html - https://twitter.com/Daviey/status/1374070630283415558 - https://nvd.nist.gov/vuln/detail/CVE-2021-21087 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N cvss-score: 5.4 cve-id: CVE-2021-21087 cwe-id: CWE-79 epss-score: 0.00293 epss-percentile: 0.65736 cpe: cpe:2.3:a:adobe:coldfusion:2016:-:*:*:*:*:*:* metadata: max-request: 7 vendor: adobe product: coldfusion shodan-query: http.component:"Adobe ColdFusion" tags: cve,cve2021,xss,adobe,misc,coldfusion http: - method: GET path: - "{{BaseURL}}/cf_scripts/scripts/ajax/package/cfajax.js" - "{{BaseURL}}/cf-scripts/scripts/ajax/package/cfajax.js" - "{{BaseURL}}/CFIDE/scripts/ajax/package/cfajax.js" - "{{BaseURL}}/cfide/scripts/ajax/package/cfajax.js" - "{{BaseURL}}/CF_SFSD/scripts/ajax/package/cfajax.js" - "{{BaseURL}}/cfide-scripts/ajax/package/cfajax.js" - "{{BaseURL}}/cfmx/CFIDE/scripts/ajax/package/cfajax.js" stop-at-first-match: true matchers-condition: and matchers: - type: regex regex: - 'eval\(\"\(\"\+json\+\"\)\"\)' - type: status status: - 200 # digest: 490a0046304402201148dc5a6b12798a8a6e7b4115628daa06400c49dc09817f66516375ede440230220287bdbd1124fd1079809c7c1252a996746110b9ee43bd18155d40b2938f68711:922c64590222798bb761d5b6d8e72950