Code-Projects Simple Stock System SQL Injection Vulnerability in checkuser.php

Vulnerability

A SQL injection vulnerability has been identified in Code-Projects Simple Stock System version 1.0. The issue resides in the checkuser.php file, where the Username GET parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, and an exploit is publicly available.

Impact

Exploitation of this vulnerability allows for SQL injection, which could lead to unauthorized data access, data manipulation, or bypassing authentication mechanisms.

Reproduction

The vulnerability can be reproduced by sending a crafted HTTP request to the checkuser.php file with a manipulated Username parameter. This can be done manually or using automated tools like SQLMap, which can detect and exploit SQL injection vulnerabilities.

Remediation

It is recommended to replace the vulnerable SQL query handling with prepared statements to prevent SQL injection. The advisory suggests using a prepared statement with a parameterized query to safely handle user input.

Added: Dec 17, 2025, 11:25 PM
Updated: Dec 17, 2025, 11:25 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
6.0
remediation
0.0
relevance
1.4
threat
6.4
urgency
2.9
incentive
1.7

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