CVE-2026-5580
SQL Injection in CodeAstro OnlineClassroom addvideos.php Allows Remote Exploit
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-5580 is a critical SQL injection vulnerability found in CodeAstro Online Classroom version 1.0, specifically in the file /OnlineClassroom/addvideos.php. The issue arises because the videotitle parameter is improperly handled and directly embedded into SQL queries without proper input validation or sanitization.
This flaw allows attackers to inject malicious SQL code remotely by sending crafted POST requests with manipulated videotitle values. Exploiting this vulnerability can lead to unauthorized database access, data leakage, data modification or deletion, and potentially full system compromise or service disruption.
A proof-of-concept demonstrates a time-based blind SQL injection attack using a payload that causes a delay in the database response, confirming the vulnerability.
How can this vulnerability impact me? :
This vulnerability can have severe impacts including unauthorized access to sensitive data stored in the database, data leakage, and unauthorized modification or deletion of data.
Attackers exploiting this flaw can potentially compromise the entire system or disrupt services, leading to business continuity issues.
- Unauthorized database access
- Data leakage
- Data modification or deletion
- Full system compromise
- Service disruption
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by sending crafted POST requests to the vulnerable endpoint `/OnlineClassroom/addvideos.php` with manipulated `videotitle` parameters to test for SQL injection.
A common detection method is to use a time-based blind SQL injection payload that causes a delay in the database response if the vulnerability exists.
For example, you can use the following payload in a POST request to test the vulnerability:
- videotitle=123' AND (SELECT 8529 FROM (SELECT(SLEEP(5)))cPYc) AND 'TpqY'='TpqY
If the response time is significantly delayed (around 5 seconds), it confirms the presence of the SQL injection vulnerability.
You can use tools like curl or Burp Suite to send such POST requests. Example curl command:
- curl -X POST -d "videotitle=123' AND (SELECT 8529 FROM (SELECT(SLEEP(5)))cPYc) AND 'TpqY'='TpqY" https://target/OnlineClassroom/addvideos.php
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include:
- Use prepared statements with parameter binding to separate SQL code from user input, preventing SQL injection.
- Implement strict input validation and filtering to ensure that inputs conform to expected formats.
- Minimize database user permissions by avoiding the use of high-privilege accounts (such as root or admin) for routine database operations.
- Conduct regular security audits of code and systems to detect and address 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 access, data leakage, and data modification or deletion. Such unauthorized data exposure and manipulation can lead to non-compliance with common standards and regulations like GDPR and HIPAA, which require protection of sensitive personal and health information.
Failure to remediate this vulnerability could result in breaches of confidentiality, integrity, and availability of data, which are core principles in these regulations. This may lead to legal penalties, loss of trust, and damage to business continuity.