Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed register.php endpoint
-
DeliveryCraft POST request with privileged role value
-
ExploitSubmit unauthenticated registration
-
ExecutionApplication stores attacker-chosen role
-
PersistAuthenticate as newly created privileged account
-
ImpactAccess restricted administrative functionality
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The registration endpoint at register.php must be publicly accessible (i.e., open self-registration must be enabled, which is the default configuration for this type of platform). No authentication is required - the attack targets the account creation flow before any session is established. The role parameter must be accepted as a direct POST or GET input without server-side enumeration enforcement. Exploitation is limited to the application's own privilege domain; it does not provide OS-level or database-level access beyond what the application exposes to high-privileged roles. The attack is bounded to instances of version 1.0 of this specific product. Non-default deployments that disable public registration or perform server-side role validation would not be vulnerable. |
| Impact | The CVSS 4.0 base score of 5.5 is supported by a vector of AV:N/AC:L/AT:N/PR:N/UI:N with limited impact metrics (VC:L/VI:L/VA:L), which accurately reflects that exploitation is trivial and unauthenticated but impact is bounded to the application's own privilege domain rather than the underlying host. No EPSS data was provided in the intelligence feed, so exploitation probability cannot be quantified independently. The E:P threat metric in the CVSS 4.0 vector confirms a working public exploit exists, raising prioritization above pure base-score would suggest. The absence of a CISA KEV listing implies no confirmed mass or threat-actor-driven exploitation yet, but the combination of PR:N, AC:L, and public exploit code creates a low barrier for opportunistic abuse. The primary limiting factor is the product's narrow deployment footprint - SourceCodester distributes hobbyist and academic PHP scripts with limited enterprise adoption, reducing aggregate exposure significantly. The CVSS impact metrics (VC:L/VI:L/VA:L) appropriately reflect application-layer privilege gain rather than OS-level compromise; this is a meaningful but contained risk for any instance exposed to the internet. |
| Exploit ScenarioDerived | An attacker visits the publicly accessible register.php endpoint and submits a crafted HTTP POST request with the role parameter set to a privileged value such as 'admin' or 'instructor'. The application inserts the attacker-supplied role directly into the user record without validation, granting the newly created account elevated privileges. The attacker then logs in with those credentials and gains access to administrative or privileged functionality - such as exam management, user administration, or grade modification - that should be restricted to trusted roles. A working proof-of-concept demonstrating this exact manipulation is publicly available on Pastebin. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Privilege escalation in SourceCodester's Onlne Examination & Learning Management System 1.0 (the product name itself contains a typo - 'Onlne' instead of 'Online') exposes an unauthenticated registration endpoint at register.php where the role parameter is not server-side validated, allowing any remote actor to self-assign elevated privileges at account creation. A publicly available exploit has been published on Pastebin, confirming the attack is trivially reproducible. No CISA KEV listing exists, but the CVSS 4.0 E:P modifier and Pastebin reference corroborate working exploit availability; no vendor patch has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis; the CPE wildcard and absence of a vendor advisory confirm no fixed version is available. As an immediate compensating control, administrators should enforce server-side whitelisting of permitted role values in register.php - the role parameter must be validated against an allow-list of non-privileged values (e.g., 'student') and never accepted as a direct user-supplied string for privilege assignment. If administrative or instructor account creation is required, it should be gated behind a separate, authenticated workflow rather than exposed through the public registration endpoint. Optionally, disabling public self-registration entirely until a patch is available eliminates this attack surface with no functional impact for closed deployments. For internet-facing instances, a WAF rule blocking unexpected role parameter values can provide a layer of detection but should not be treated as a substitute for code-level fixes. The VulDB report and exploit reference are available at https://vuldb.com/vuln/376307 and the proof-of-concept at https://pastebin.com/Z4i5MGxk.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected application is a PHP-based web platform distributed by SourceCodester for conducting online examinations and managing learning content. The vulnerability class is CWE-269 (Improper Privilege Management), meaning the application's registration logic in register.php accepts a user-supplied role parameter - such as 'admin' or 'instructor' - without server-side enforcement of what roles a self-registering user is permitted to claim. In PHP web applications, this pattern typically arises when POST/GET parameters are passed directly into database INSERT statements or session variables that govern access control, bypassing any intended role assignment workflow. The CPE string cpe:2.3:a:sourcecodester:onlne_examination_&_learning_management_system:*:*:*:*:*:*:*:* covers all sub-versions of the 1.0 release, and the wildcard version field suggests no patched release has been formally catalogued.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Public registration endpoint requires no authentication (PR:N, AV:N); manipulation is trivial (AC:L); impact is limited to application-layer privilege escalation with no availability effect.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A flaw has been found in SourceCodester Onlne Examination & Learning Management System 1.0. The impacted element is an unknown function of the file register.php of the component Registration Endpoint. Executing a manipulation of the argument role can lead to improper privilege management. The attack can be executed remotely. The exploit has been published and may be used. The name of the affected product appears to have a typo in it.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-41733
GHSA-cvww-px7g-8933
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB