Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents moderate-to-significant real-world risk despite the 6.3 CVSS score. The CVSS vector indicates network-accessible attack surface (AV:N), low attack complexity (AC:L), and requires low privilege authentication (PR:L), meaning any authenticated user (student, instructor, or legitimate platform user) can exploit it without special access. The E:P field confirms publicly available exploit code exists, substantially lowering the bar for exploitation. EPSS probability is not provided, but the confluence of low attack complexity, public POC availability, and the widespread use of SQL injection attacks in education sector targeting systems suggests real exploitation likelihood. The three-vector impact (C:L/I:L/A:L) indicates confidentiality, integrity, and availability compromise-attackers can read sensitive data, modify grades or assessment records, and potentially cause denial of service. The RC:R (Reasonable confidence) supports these claims. This is not merely theoretical: any institution running CodeAstro Online Classroom with internet-facing deployment and user authentication enabled is vulnerable to data theft of student records, grade manipulation, or lateral movement within the database. |
| Exploit ScenarioDerived | An authenticated student or instructor logs into a CodeAstro Online Classroom instance and navigates to an assessment page (takeassessment2.php?exid=14). The attacker crafts a malicious SQL payload in the Q1 parameter, such as Q1=1' UNION SELECT username, password FROM users WHERE '1'='1, and submits it. The vulnerable PHP code directly concatenates this input into a SQL query without escaping, causing the database to execute the injected UNION query. The attacker exfiltrates the user credentials table, then uses those credentials to access other assessments, modify grades, or escalate privileges. Publicly available POC code from GitHub (https://github.com/xue-p123/vuldb-research/issues/2) lowers the barrier to entry, making this practical for opportunistic attackers or competitors seeking to manipulate academic records. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 10, 2026
SQL injection in CodeAstro Online Classroom allows authenticated remote attackers to execute arbitrary SQL queries via the Q1 parameter in /OnlineClassroom/takeassessment2.php, enabling data exfiltration and modification with CVSS 6.3 severity; publicly available exploit code exists and the vulnerability affects all versions of the product.
RemediationAI
Immediate mitigation requires upgrading to a patched version of CodeAstro Online Classroom; however, no specific patched version has been independently confirmed at time of analysis. Administrators should contact CodeAstro directly at codeastro.com for security advisories and patched releases. As an interim workaround, implement Web Application Firewall (WAF) rules to block SQL injection patterns in the Q1 parameter (e.g., detecting single quotes, SQL keywords like UNION, SELECT, OR, --), restrict database user privileges to read-only where possible, and disable direct internet exposure of the /OnlineClassroom path using network segmentation or IP allowlisting. Developers should remediate this by using parameterized queries (prepared statements) for all SQL operations, validating and strictly typing the Q1 input on the server side, and implementing principle of least privilege for the database user account. Consult VulDB (https://vuldb.com/vuln/356566) for detailed technical analysis and patch availability updates.
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
CodeAstro Online Classroom is a PHP-based web application for educational assessment management. The vulnerability resides in the takeassessment2.php endpoint, which processes the Q1 parameter without proper input validation or parameterized query preparation. This is a classic SQL injection flaw (CWE-89: Improper Neutralization of Special Elements used in an SQL Command) where user-supplied input is directly concatenated into SQL statements. The affected file path /OnlineClassroom/takeassessment2.php?exid=14 suggests an exam or assessment ID is passed as a query parameter, and the Q1 field (likely a question/answer field) fails to sanitize or escape special SQL characters before database execution.
Know when Online Classroom 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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A security flaw has been discovered in CodeAstro Online Classroom 1.0/2.php. Affected by this vulnerability is an unknown functionality of the file /OnlineClassroom/takeassessment2.php?exid=14. Performing a manipulation of the argument Q1 results in sql injection. Remote exploitation of the attack is possible. The exploit has been released to the public and may be used for attacks.
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.
More in Online Classroom
View allSQL injection in CodeAstro Online Classroom 1.0 exposes the admin login endpoint `/OnlineClassroom/loginlinkadmin.php` t
SQL injection in CodeAstro Online Classroom 1.0 allows authenticated remote attackers to execute arbitrary SQL queries v
SQL injection in CodeAstro Online Classroom 1.0 allows authenticated remote attackers to execute arbitrary SQL queries v
SQL injection in CodeAstro Online Classroom 1.0 allows authenticated remote attackers to execute arbitrary SQL queries v
SQL injection in CodeAstro Online Classroom 1.0 allows authenticated remote attackers to execute arbitrary SQL queries v
SQL injection in CodeAstro Online Classroom 1.0 allows authenticated remote attackers to manipulate the fid parameter in
SQL injection in CodeAstro Online Classroom 1.0 allows authenticated remote attackers to manipulate the sid parameter in
SQL injection in CodeAstro Online Classroom 1.0 allows authenticated remote attackers to execute arbitrary SQL queries v
SQL injection in CodeAstro Online Classroom 1.0 allows authenticated remote attackers to manipulate the fname parameter
SQL injection in CodeAstro Online Classroom 1.0 exposes the /addnewfaculty endpoint to database manipulation via the uns
SQL injection in CodeAstro Online Classroom 1.0 allows authenticated remote attackers to execute arbitrary SQL commands
SQL injection in CodeAstro Online Classroom 1.0 via the deleteid parameter in /OnlineClassroom/addassessment.php allows
EUVD-2026-21301
GHSA-42q7-q9v4-qq54
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB