| Title | sourcecodester Petrol pump management software 1.0 SQL Injection |
|---|
| Description |
The Petrol Pump Management Software from SOURCECODESTER is vulnerable to an Unauthenticated SQL Injection via its /admin/edit_categories.php page. This flaw stems from improper sanitization of the id parameter in an SQL query. Attackers can exploit this by injecting a malicious UNION SELECT statement through the id parameter in a POST request, as demonstrated, to execute arbitrary SQL commands. This vulnerability exposes the system to potential unauthorized data access, manipulation, or even database compromise, underscoring the critical need for rigorous input validation and the use of prepared statements to ensure data integrity and security. |
|---|
| Source | ⚠️ https://github.com/skid-nochizplz/skid-nochizplz/blob/main/TrashBin/CVE/SOURCECODESTER%20Petrol%20pump%20management%20software/edit_categories.php%20SQL%20Injection.md |
|---|
| User | nochizplz (UID 64302) |
|---|
| Submission | 02/29/2024 06:55 (2 years ago) |
|---|
| Moderation | 03/01/2024 07:54 (1 day later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 255377 [SourceCodester Petrol Pump Management Software 1.0 edit_categories.php ID sql injection] |
|---|
| Points | 20 |
|---|