SourceCodester Class and Exam Timetabling System SQL Injection Vulnerability in edit_rooma.php

Vulnerability

A SQL injection vulnerability exists in the SourceCodester Class and Exam Timetabling System version 1.0, specifically within the edit_rooma.php file. The vulnerability arises from inadequate validation of the 'id' parameter, allowing remote attackers to inject malicious SQL queries. This exploitation could lead to unauthorized database access, data manipulation, and leakage of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, enabling attackers to access the database, manipulate or delete data, and extract sensitive information.

Reproduction

The vulnerability can be reproduced by sending a crafted request to the edit_rooma.php file with an injected SQL payload in the 'id' parameter. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

To address this vulnerability, it is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, minimize database user permissions, and conduct regular security audits.

Added: Jul 18, 2026, 9:24 PM
Updated: Jul 18, 2026, 9:24 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
8.7
remediation
0.0
relevance
9.9
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.