# CVE-2024-2058: SourceCodester Petrol Pump Management Software product.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.61%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-01T10:12:20.887Z
- Modified: 2026-06-17T07:23:38.803Z
- 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 declared as critical. Affected by this vulnerability is an unknown functionality of the file /admin/app/product.php. The manipulation of the argument photo leads to unrestricted upload. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-255373 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/Surya2Developer%20Online_shopping_-system/SOURCECODESTER%20Petrol%20pump%20management%20software/Unauthenticated%20Arbitrary%20File%20Upload.md> (exploit, broken-link)
- <https://vuldb.com/?id.255373> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.255373> (permissions-required, signature, vdb-entry)
- <https://github.com/skid-nochizplz/skid-nochizplz/blob/main/TrashBin/CVE/SOURCECODESTER%20Petrol%20pump%20management%20software/Unauthenticated%20Arbitrary%20File%20Upload.md> (broken-link, related)

## Sources

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

---

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