{"id":"CVE-2022-2297","published":"2022-07-12T16:22:14Z","modified":"2025-04-15T14:07:16Z","title":"SourceCodester Clinics Patient Management System unrestricted upload","vendor":"SourceCodester","product":"Clinics Patient Management System","tier":"tail","description":{"text":"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 <?php phpinfo();?> leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03367,"percentile":0.89035,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"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"]},{"url":"https://vuldb.com/?id.203178","tags":["x_refsource_MISC"]}],"priority":{"score":27.2,"factors":[{"name":"EPSS percentile","points":17.81},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"exploitSources":{"metasploit":[{"name":"Clinic's Patient Management System 1.0 - Unauthenticated RCE","module":"exploit/multi/http/clinic_pms_sqli_to_rce","type":"exploit","disclosureDate":"2025-01-04","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/clinic_pms_sqli_to_rce.rb"}],"first":{"date":"2025-01-04","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/clinic_pms_sqli_to_rce.rb"},"provenance":"source"},"vendorSlug":"sourcecodester","affectedVersions":[{"vendor":"SourceCodester","product":"Clinics Patient Management System","versions":["2.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-14T17:05:52.421470Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-34570","exploited":false,"provenance":"source"}}