CVE-2024-2061 SourceCodester Petrol Pump Management Software edit_supplier.php sql injection
Remote attackers can exploit SQL injection in the edit_supplier.php file to read or modify database contents.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-2061?
CVE-2024-2061 is a medium-severity SQL injection vulnerability in SourceCodester Petrol Pump Management Software, published on 1 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A vulnerability classified as critical was found in SourceCodester Petrol Pump Management Software 1.0. This vulnerability affects unknown code of the file /admin/edit_supplier.php. The manipulation of the argument id leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-255376.
Weakness: CWE-89
Which versions are affected by CVE-2024-2061?
It affects 1 product.
Products include Mayurik Petrol Pump Management.
How do I fix CVE-2024-2061?
No fix has been published for CVE-2024-2061 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-2061 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-2061 exists.
Other vulnerabilities in SourceCodester Petrol Pump Management Software
Sources
Also known as GHSA-2q28-fw37-fxm3.