{"id":"CVE-2022-40471","published":"2022-10-31T00:00:00Z","modified":"2025-05-06T15:41:02Z","title":"Remote Code Execution in Clinic's Patient Management System v 1.0 allows Attacker to Upload arbitrary php webshell via…","vendor":null,"product":null,"tier":"tail","description":{"text":"Remote Code Execution in Clinic's Patient Management System v 1.0 allows Attacker to Upload arbitrary php webshell via profile picture upload functionality in users.php","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.28011,"percentile":0.98148,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://www.sourcecodester.com/php-clinics-patient-management-system-source-code","tags":[]},{"url":"https://drive.google.com/file/d/1m-wTfOL5gY3huaSEM3YPSf98qIrkl-TW/view?usp=sharing","tags":[]},{"url":"https://github.com/RashidKhanPathan/CVE-2022-40471","tags":[]}],"priority":{"score":31.5,"factors":[{"name":"EPSS percentile","points":19.63},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2022-10-12","earliestUrl":"https://github.com/RashidKhanPathan/CVE-2022-40471","repos":[{"name":"RashidKhanPathan/CVE-2022-40471","url":"https://github.com/RashidKhanPathan/CVE-2022-40471","stars":12,"created":"2022-10-12"},{"name":"Dharan10/CVE-2022-40471","url":"https://github.com/Dharan10/CVE-2022-40471","stars":0,"created":"2025-12-30"}]},"metasploit":[{"name":"Clinic's Patient Management System 1.0 - Unauthenticated RCE","module":"exploit/multi/http/clinic_pms_fileupload_rce","type":"exploit","disclosureDate":"2022-10-31","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/clinic_pms_fileupload_rce.rb"}],"first":{"date":"2022-10-12","source":"PoC-in-GitHub","url":"https://github.com/RashidKhanPathan/CVE-2022-40471"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-05-06T15:40:19.822078Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"Clinic's Patient Management System v1.0 contains a flaw in the profile picture upload functionality in users.php that fails to restrict file types. An attacker can exploit it by uploading a PHP webshell, which yields remote code execution, and the attack requires only network access with no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:30:39Z"},"euvd":{"id":"EUVD-2022-43749","exploited":false,"provenance":"source"}}