{"id":"CVE-2022-2297","aliases":["EUVD-2022-34570","GHSA-5rjr-j9m9-qpm9"],"status":"published","title":"SourceCodester Clinics Patient Management System unrestricted upload","description":"A vulnerability, which was classified as critical, was found in SourceCodester Clinics Patient Management System 2.0. Affected is an unknown function of the file /pms/update_user.php?user_id=1. The manipulation of the argument profile_picture with the input \u003c?php phpinfo();?\u003e leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","severity":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.03367,"percentile":0.88822,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-434"],"published":"2022-07-12T16:22:14Z","modified":"2026-06-17T04:41:38Z","exploits":[{"source":"metasploit","id":"exploit/multi/http/clinic_pms_sqli_to_rce","title":"Clinic's Patient Management System 1.0 - Unauthenticated RCE","type":"exploit","platform":"PHP","date":"2025-01-04","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/multi/http/clinic_pms_sqli_to_rce"}],"products":[{"vendor":"oretnom23","product":"clinic\\'s_patient_management_system"},{"vendor":"sourcecodester","product":"clinics patient management system"}],"references":[{"url":"https://github.com/CyberThoth/CVE/blob/8c6b66919be1bd66a54c16cc27cbdd9793221d3e/CVE/Clinic%27s%20Patient%20Management%20System/Unrestricted%20file%20upload%20%28RCE%29/POC.md","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://vuldb.com/?id.203178","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2297"},{"url":"https://github.com/CyberThoth/CVE/blob/8c6b66919be1bd66a54c16cc27cbdd9793221d3e/CVE/Clinic's%20Patient%20Management%20System/Unrestricted%20file%20upload%20(RCE)/POC.md"},{"url":"https://github.com/advisories/GHSA-5rjr-j9m9-qpm9"}],"sources":{"cve":[{"id":"CVE-2022-2297","title":"SourceCodester Clinics Patient Management System unrestricted upload","description":"A vulnerability, which was classified as critical, was found in SourceCodester Clinics Patient Management System 2.0. Affected is an unknown function of the file /pms/update_user.php?user_id=1. The manipulation of the argument profile_picture with the input \u003c?php phpinfo();?\u003e leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2022-07-12T16:22:14Z","modified":"2025-04-15T14:07:16.654Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:34:32.495407Z"}],"euvd":[{"id":"EUVD-2022-34570","description":"A vulnerability, which was classified as critical, was found in SourceCodester Clinics Patient Management System 2.0. Affected is an unknown function of the file /pms/update_user.php?user_id=1. The manipulation of the argument profile_picture with the input \u003c?php phpinfo();?\u003e leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2022-07-12T16:22:14Z","modified":"2025-04-15T14:07:16Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:52:29.674488Z"}],"ghsa":[{"id":"GHSA-5rjr-j9m9-qpm9","title":"A vulnerability, which was classified as critical, was found in SourceCodester Clinics Patient...","description":"A vulnerability, which was classified as critical, was found in SourceCodester Clinics Patient Management System 2.0. Affected is an unknown function of the file /pms/update_user.php?user_id=1. The manipulation of the argument profile_picture with the input \u003c?php phpinfo();?\u003e leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2022-07-13T00:00:42Z","modified":"2024-09-07T15:31:36Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:58:11.86243Z"}],"nvd":[{"id":"CVE-2022-2297","description":"A vulnerability, which was classified as critical, was found in SourceCodester Clinics Patient Management System 2.0. Affected is an unknown function of the file /pms/update_user.php?user_id=1. The manipulation of the argument profile_picture with the input \u003c?php phpinfo();?\u003e leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2022-07-12T17:15:07.493Z","modified":"2026-06-17T04:41:38.91Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:07:23.322724Z"}]}}
