Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid user credentials
-
DeliveryAuthenticate to CodeAstro Online Classroom
-
ExploitCraft SQL injection payload in squeryx parameter
-
ExecutionSubmit request to /askquery.php
-
PersistInject arbitrary SQL syntax
-
ImpactExtract or modify database records
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. |
| Exploitation Conditions | Authentication is REQUIRED - the CVSS vector PR:L confirms that exploitation necessitates valid user credentials for the CodeAstro Online Classroom application. The vulnerable /askquery.php endpoint must be accessible over the network (default deployment). No other special configuration, feature flags, or non-default settings are mentioned in available data, indicating the vulnerability is present in standard installations. An attacker must be able to submit HTTP requests to the web application and possess or obtain valid login credentials to access the vulnerable endpoint. |
| Impact | CVSS 6.3 with AV:N/AC:L/PR:L indicates network-accessible SQL injection requiring only low-privilege authentication. The CVSS vector shows E:P (exploit proof-of-concept exists) and RC:R (reasonable confidence), aligned with the public availability of working exploit code. However, the PR:L requirement (authenticated access needed) significantly constrains real-world risk compared to unauthenticated SQL injection vulnerabilities - attackers must first obtain valid user credentials. The low CVSS impact scores (C:L/I:L/A:L) suggest confidentiality, integrity, and availability are only partially compromised per query, though cumulative exploitation could escalate. The reasonable confidence rating and public POC availability elevate tactical risk for organizations running unpatched instances. No KEV status provided, but public exploit availability indicates mature threat knowledge. Organizations using Online Classroom should prioritize patching, but the authentication barrier reduces likelihood of opportunistic exploitation compared to unauthenticated SQL injection. |
| Exploit ScenarioDerived | An authenticated user with valid credentials logs into CodeAstro Online Classroom and crafts a malicious HTTP request to /askquery.php with a SQL injection payload embedded in the squeryx parameter (e.g., squeryx=test' OR '1'='1). The unvalidated parameter is concatenated directly into an SQL query, allowing the attacker to extract sensitive data such as user credentials, course content, or grades, or modify database records. Public exploit code on GitHub demonstrates the exact payload syntax, lowering the technical barrier for attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 07, 2026
SQL injection in CodeAstro Online Classroom 1.0 allows authenticated remote attackers to execute arbitrary SQL queries via the squeryx parameter in /askquery.php, enabling unauthorized data access, modification, and potential denial of service. Publicly available exploit code exists and the vulnerability affects the default installation with no special configuration required.
RemediationAI
Update CodeAstro Online Classroom to a patched version released by the vendor. Exact patched version numbers are not confirmed in available data; contact CodeAstro directly via https://codeastro.com/ or check their security advisories for the current patch. As an interim compensating control, restrict network access to /askquery.php using web application firewall rules or reverse proxy restrictions, allowing only trusted internal networks if the classroom is accessed by a limited user base. Implement input validation and prepared statements (parameterized queries) for the squeryx parameter at the application code level if source code access is available. Monitor database logs for suspicious SQL syntax patterns such as UNION, OR 1=1, DROP, or time-based delay payloads. Note that these controls do not remediate the underlying vulnerability and should be considered temporary until patching is completed.
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 vulnerability exists in the PHP-based Online Classroom application at the /askquery.php endpoint. The squeryx parameter is passed directly to SQL queries without proper input sanitization or parameterized statement preparation, resulting in classic SQL injection (CWE-89). The affected CPE cpe:2.3:a:codeastro:online_classroom:*:*:*:*:*:*:*:* indicates all versions of CodeAstro Online Classroom are potentially vulnerable. The attack vector is network-based, requiring only basic HTTP requests to craft malicious SQL payloads through the vulnerable parameter.
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
3DescriptionCVE.org
A security flaw has been discovered in CodeAstro Online Classroom 1.0. This vulnerability affects unknown code of the file /askquery.php. The manipulation of the argument squeryx results in sql injection. The attack may be performed from remote. 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 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 allows authenticated remote attackers to execute arbitrary SQL queries via t
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-28443
GHSA-34v6-h57v-gx5f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB