Online Course Registration CVE-2025-11342
LOWAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as admin
-
DeliveryNavigate to edit-course.php
-
ExploitSubmit SQL metacharacters in coursecode parameter
-
ExecutionBreak SQL query syntax
-
ImpactExtract or modify database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Successful exploitation requires authenticated administrative access to the course management interface (/admin/edit-course.php). The attacker must be a user account with admin role privileges; unauthenticated remote exploitation is not possible due to the access control enforced by the admin panel. The vulnerability is triggered only when the coursecode parameter is provided in a request to the edit-course endpoint. No special application configuration is documented as a prerequisite-the SQL injection exists in the default application code for version 1.0. The scope is further limited by the fact that impacted data is restricted to the course database schema; attackers cannot escalate to operating system commands or cross-privilege boundaries outside the database layer. |
| Impact | CVSS 4.0 score reflects meaningful mitigation factors that reduce practical risk despite the SQL injection vector. The PR:H requirement is the critical gate-administrative authentication is mandatory, eliminating opportunistic remote exploitation of unauthenticated systems. EPSS 0.03% (7th percentile) indicates this vulnerability has negligible autonomous exploitation probability, suggesting attackers do not weaponize it through automated scanning. Public exploit availability raises concern for insider threat scenarios (compromised admin accounts) or post-authentication attacks in multi-user environments, but does not indicate widespread active exploitation. The VC:L/VI:L/VA:L scope (only database confidentiality, integrity, availability affected) and SC:N (no system scope expansion) confirm that successful exploitation remains confined to data layer-no OS command execution or lateral movement is possible. Real-world risk depends entirely on admin account security; this is not a critical vulnerability by CVSS logic, but a post-compromise privilege escalation or insider data exfiltration vector. |
| Exploit ScenarioDerived | An attacker with administrative credentials (or who has compromised an admin account via phishing) navigates to /admin/edit-course.php and submits a crafted coursecode value such as coursecode=1' OR '1'='1 or coursecode=1; DROP TABLE courses;-- to manipulate the underlying SQL query. The unvalidated input is concatenated into the query string, allowing the attacker to bypass intended WHERE clause logic, read arbitrary database records, or execute destructive operations against the course table and related data. Public exploit code reduces the barrier to weaponization for insiders or low-skill attackers with admin access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in code-projects Online Course Registration 1.0 allows high-privileged remote attackers to manipulate the coursecode parameter in /admin/edit-course.php, potentially extracting or modifying database contents. CVSS 4.0 reflects limited scope (only confidentiality/integrity impact to database layer with no system scope expansion), but the vulnerability requires administrative authentication (PR:H), significantly constraining real-world risk despite public exploit availability and 0.03% EPSS indicating minimal spontaneous exploitation likelihood.
RemediationAI
Apply input validation and parameterized queries to the coursecode parameter in /admin/edit-course.php. If a vendor patch is not available, implement immediate compensating controls: (1) Replace all SQL string concatenation with parameterized prepared statements (bind variables) using PHP Data Objects (PDO) or mysqli prepared statements-this eliminates SQL injection by separating query structure from user input, with minimal performance overhead. (2) Validate coursecode against a whitelist of allowed characters (e.g., alphanumeric and underscore only) before query execution, rejecting any input containing SQL metacharacters (single quotes, semicolons, double hyphens, parentheses). (3) Apply the principle of least privilege to the database user executing admin queries-create a dedicated read/write role for /admin/edit-course.php that lacks ALTER TABLE or CREATE USER permissions, preventing attackers from modifying schema or escalating privileges even if SQL injection succeeds. (4) Deploy Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the coursecode parameter (e.g., OWASP ModSecurity rules for SQL injection), though this is secondary to code-level fixes. Monitor admin account activity for unusual database query patterns. No vendor advisory with a specific patch version is documented; check code-projects.org and vuldb.com for updates.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from improper input validation of the coursecode parameter (CWE-74: Improper Neutralization of Special Elements in Output) in a PHP-based course management application. The /admin/edit-course.php endpoint fails to sanitize SQL metacharacters in the coursecode argument before incorporating it into database queries, enabling attackers to break out of the intended SQL statement structure and inject arbitrary SQL commands. The attack surface is limited to authenticated administrative users accessing the course editing interface, as indicated by the PR:H (High Privilege Required) constraint in the CVSS vector.
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:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A weakness has been identified in code-projects Online Course Registration 1.0. This impacts an unknown function of the file /admin/edit-course.php. Executing manipulation of the argument coursecode can lead to sql injection. The attack can be executed remotely. The exploit has been made available to the public and could be exploited.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
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
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB