Online Course Registration CVE-2025-11342
LOWSeverity 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/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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
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/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
Lifecycle Timeline
1DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
More from same product – last 7 days
Authentication bypass in Discuz! X5.0 releases 20260320 through 20260501 allows unauthenticated remote attackers to acce
Authenticated remote code execution in Discuz! X5.0 releases 20260320 through 20260501 allows administrators to chain a
Unauthenticated PHP Object Injection in the Happyforms WordPress plugin (versions <= 1.26.13) allows remote attackers to
Unauthenticated PHP Object Injection in the Broadcast Live Video WordPress plugin (versions prior to 7.1.3) allows remot
Unauthenticated PHP object injection in the WordPress plugin 'Integration for Keap/Infusionsoft and Contact Form 7, WPFo
Share
External POC / Exploit Code
Leaving vuln.today