# CVE-2024-2062: SourceCodester Petrol Pump Management Software edit_categories.php sql injection

- Severity: Medium 4.7 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-01T13:00:08.948Z
- Modified: 2026-06-17T07:23:39.373Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability, which was classified as critical, has been found in SourceCodester Petrol Pump Management Software 1.0. This issue affects some unknown processing of the file /admin/edit_categories.php. The manipulation of the argument id leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-255377 was assigned to this vulnerability.

(As written by CVE List.)

## Affected

- SourceCodester Petrol Pump Management Software: 1.0
- sourcecodester petrol_pump_management: 1.0
- mayurik petrol_pump_management: 1.0

## Every score

- VulDB: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 4.7 Medium `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 5.8 Medium `AV:N/AC:L/Au:M/C:P/I:P/A:P`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/skid-nochizplz/skid-nochizplz/blob/main/TrashBin/CVE/SOURCECODESTER%20Petrol%20pump%20management%20software/edit_categories.php%20SQL%20Injection.md> (exploit, broken-link)
- <https://vuldb.com/?id.255377> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.255377> (permissions-required, signature, third-party-advisory)

## Sources

- CVE List: [CVE-2024-2062](https://www.cve.org/CVERecord?id=CVE-2024-2062), CVE Terms of Use, modified 2024-08-22
- NVD: [CVE-2024-2062](https://nvd.nist.gov/vuln/detail/CVE-2024-2062), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-2062 · Whole record: https://cve.day/CVE-2024-2062.json · Rebuilt by cve.day 2026-11-25T22:58:37.206Z
