CVE-2026-5578
SQL Injection in CodeAstro OnlineClassroom Parameter Handler (Remote
Publication date: 2026-04-05
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| codeastro | online_classroom | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-74 | The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. |
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-5578 is a SQL injection vulnerability found in CodeAstro Online Classroom 1.0, specifically in the handling of the deleteid parameter in the file /OnlineClassroom/addassessment.php (noted also in /OnlineClassroom/resultdetails.php).
The vulnerability occurs because the deleteid parameter is used directly in SQL queries without proper input validation or sanitization, allowing attackers to inject malicious SQL code.
This flaw enables attackers to perform unauthorized database operations such as accessing, modifying, or deleting data, potentially leading to full system compromise.
How can this vulnerability impact me? :
This SQL injection vulnerability can have severe impacts including unauthorized access to sensitive data, data leakage, data modification or deletion, and disruption of service.
Attackers can exploit this remotely to compromise the system, potentially gaining full control over the affected application and its database.
- Unauthorized database access
- Data leakage
- Data modification or deletion
- Full system compromise
- Potential service disruption
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the vulnerable parameter `deleteid` in HTTP GET requests to the affected endpoint `/OnlineClassroom/resultdetails.php` for SQL injection.
- Use boolean-based blind SQL injection payloads such as: deleteid=(SELECT (CASE WHEN (3635=3635) THEN 2387 ELSE (SELECT 1897 UNION SELECT 5291) END))
- Use error-based SQL injection payloads such as: deleteid=2387 OR (SELECT 3890 FROM(SELECT COUNT(*),CONCAT(0x7162626a71,(SELECT (ELT(3890=3890,1))),0x7178716b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)
- Use time-based blind SQL injection payloads such as: deleteid=2387 AND (SELECT 5609 FROM (SELECT(SLEEP(5)))vPvT)
Proof-of-concept testing can be performed using tools like sqlmap to send crafted HTTP GET requests to the vulnerable URL and confirm the presence of SQL injection.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include:
- Implement prepared statements with parameter binding to separate SQL code from user input and prevent injection.
- Apply strict input validation and filtering to ensure inputs conform to expected formats.
- Minimize database user permissions by avoiding use of high-privilege accounts such as root or admin for routine operations.
- Conduct regular security audits of code and systems to detect and fix vulnerabilities promptly.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The SQL injection vulnerability in CodeAstro Online Classroom 1.0 allows unauthorized database access, data leakage, modification, or deletion. Such unauthorized access and potential data breaches can lead to non-compliance with data protection regulations like GDPR and HIPAA, which require safeguarding personal and sensitive information against unauthorized access and ensuring data integrity.
If exploited, this vulnerability could result in exposure or alteration of protected data, violating confidentiality and integrity requirements mandated by these standards. Therefore, failure to remediate this vulnerability may lead to regulatory penalties and damage to organizational reputation.