# CVE-2024-2059: SourceCodester Petrol Pump Management Software service_crud.php unrestricted upload

- 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.98%, higher than 61% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-01T11:31:05.750Z
- Modified: 2026-06-17T07:23:38.953Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in SourceCodester Petrol Pump Management Software 1.0. It has been rated as critical. Affected by this issue is some unknown functionality of the file /admin/app/service_crud.php. The manipulation of the argument photo leads to unrestricted upload. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. VDB-255374 is the identifier 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/service_crud.php%20Unauthenticated%20Arbitrary%20File%20Upload.md> (exploit, broken-link)
- <https://vuldb.com/?id.255374> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.255374> (permissions-required, signature, vdb-entry)

## Sources

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

---

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