CVE-2026-16154

SourceCodester Class and Exam Timetabling System edit_room1.php sql injection

Published Jul 18, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was determined in SourceCodester Class and Exam Timetabling System 1.0/1.php. Affected by this vulnerability is an unknown functionality of the file /edit_room1.php. Executing a manipulation of the argument ID can lead to sql injection. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized.

Analysis

AI-generated

Technical impact

The vulnerability is an unsanitized ID argument in the edit_room1.php script that allows an attacker to inject arbitrary SQL. By supplying a crafted value for the ID parameter, an attacker could read, modify, or delete data stored in the system database. The flaw aligns with CWE‑74 and CWE‑89. The description indicates the exploit can be performed from remote and it is inferred that no authentication controls protect the endpoint, meaning a remote attacker with network access to the web server could exploit the flaw.

Affected Systems

SourceCodester Class and Exam Timetabling System is impacted. The vulnerability resides in the edit_room1.php handler of that application. No explicit version information is provided.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. The EPSS score of less than 1 % suggests a very low probability of exploitation in the wild, and the vulnerability is not listed in CISA’s KEV catalog. Nevertheless, the flaw can be triggered from any remote host that can reach the web server, and the public disclosure of the exploit means competent adversaries could attempt it at any time. Based on the description, it is inferred that the attack vector is over HTTP and does not require authentication, which increases the potential impact if a successful injection leads to data compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the vendor‑issued patch or upgraded version that fixes the vulnerability in edit_room1.php.
  • Validate the ID query parameter on the server side so that only numeric values are accepted, or rewrite the SQL statements to use prepared statements with bound parameters to avoid string concatenation.
  • If a patch is not yet available, restrict public access to edit_room1.php by enabling authentication, role‑based access control, or IP whitelisting; alternatively, deploy a web application firewall to block suspicious input.
  • Monitor web server logs for abnormal requests to edit_room1.php and investigate any suspicious activity promptly.

Generated by OpenCVE AI on July 30, 2026 at 22:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was determined in SourceCodester Class and Exam Timetabling System 1.0/1.php. Affected by this vulnerability is an unknown functionality of the file /edit_room1.php. Executing a manipulation of the argument ID can lead to sql injection. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized.
Title SourceCodester Class and Exam Timetabling System edit_room1.php sql injection
First Time appeared Sourcecodester
Sourcecodester class And Exam Timetabling System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:sourcecodester:class_and_exam_timetabling_system:*:*:*:*:*:*:*:*
Vendors & Products Sourcecodester
Sourcecodester class And Exam Timetabling System
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 20, 2026, 4:51 PM
Reserved
Jul 17, 2026, 7:34 PM
Status
Deferred
Published
Jul 18, 2026, 9:17 PM
Modified
Oct 24, 2026, 8:10 PM