Submit #906278: SourceCodester Simple Traffic Offense System using PHP with Source Code 1.0 Missing Authenticationinfo

TitleSourceCodester Simple Traffic Offense System using PHP with Source Code 1.0 Missing Authentication
DescriptionThe application exposes destructive GET endpoints, including delete-user.php and delete-offence.php, that do not enforce server-side authentication or authorization before deleting records. An attacker can send a crafted GET request directly to delete-user.php?id=<id> and the server will process the deletion even if the session cookie is removed or the user is otherwise unauthenticated. The same pattern exists in delete-offence.php. The backend deletion handlers do not validate the current session before executing destructive operations. Instead of enforcing a server-side permission check, the application accepts a GET parameter such as id and performs the delete action immediately. In the case of delete-offence.php, the current default schema appears to delete from the offence table rather than the reported_offence table used by the listing page. That may affect the visible business impact, but it does not change the security issue: the endpoint remains an unauthenticated destructive entry point.
Source⚠️ https://github.com/tan1540684326-QAQ/cve/issues/2
User
 LiuHeQi (UID 99807)
Submission07/27/2026 10:25 (1 month ago)
Moderation09/06/2026 17:55 (1 month later)
StatusAccepted
VulDB entry399455 [SourceCodester Simple Traffic Offense System 1.0 Deletion Endpoint delete-user.php ID missing authentication]
Points20

Want to know what is going to be exploited?

We predict KEV entries!