CodeAstro Online Classroom SQL Injection Vulnerability in addassessment.php

Vulnerability

A SQL injection vulnerability has been identified in CodeAstro Online Classroom version 1.0. The issue resides in the addassessment.php file within the Parameter Handler component. The vulnerability is triggered by manipulating the deleteid parameter, allowing attackers to inject malicious SQL queries. This SQL injection can be exploited remotely, potentially leading to unauthorized database access, data modification or deletion, and exposure of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, where attackers can manipulate database queries. This could lead to unauthorized access to database information, modification or deletion of data, and in some cases, executing commands on the server.

Reproduction

The vulnerability can be reproduced by sending a request to the OnlineClassroom/resultdetails.php file with a crafted deleteid parameter that includes malicious SQL code. This can be done using a tool like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits are also advisable.

Added: Apr 5, 2026, 4:19 PM
Updated: Apr 5, 2026, 4:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
8.7
remediation
0.0
relevance
5.3
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.