# CVE-2024-5051: SourceCodester Gas Agency Management System edituser.php sql injection

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- 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.65%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-17T14:31:04.711Z
- Modified: 2026-06-17T08:14:59.400Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability has been found in SourceCodester Gas Agency Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file edituser.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-264748.

(As written by CVE List.)

## Affected

- SourceCodester Gas Agency Management System: 1.0
- mayurik gas_agency_management_system: 1.0

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/HuoMingZ/aoligei/blob/main/Gas.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.264748> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.264748> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.336010> (third-party-advisory, vdb-entry)

## Sources

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

---

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