# CVE-2023-1151: SourceCodester Electronic Medical Records System Cookie administrator.php sql injection

- Severity: Medium 6.3 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/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.74%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-02T06:31:04.911Z
- Modified: 2026-06-17T05:27:13.917Z
- Weaknesses: CWE-89
- Assigned by: VulDB

## Description

A vulnerability was found in SourceCodester Electronic Medical Records System 1.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file administrator.php of the component Cookie Handler. The manipulation of the argument userid leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-222163.

(As written by CVE List.)

## Affected

- SourceCodester Electronic Medical Records System: 1.0
- electronic_medical_records_system_project electronic_medical_records_system: 1.0

## Every score

- 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 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/lcg-22266/bug_report/blob/main/vendors/Patrick%20Mvuma/Electronic%20Medical%20Records%20System/SQLi-1.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.222163> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.222163> (permissions-required, signature)

## Sources

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

---

Page: https://cve.day/CVE-2023-1151 · Whole record: https://cve.day/CVE-2023-1151.json · Rebuilt by cve.day 2026-11-25T22:58:22.240Z
