Arbitrary file upload in Oretnom23 Clinic\'s Patient Management System
CVE-2022-40471
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
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.280, 98.1th percentile (scored ); up from 0.226 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.226 · newest: 0.280 · change: +0.054
Affected products
- Oretnom23 Clinic\'s Patient Management System — versions 1.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
2 public repositories with exploit or proof-of-concept code for this CVE:
- RashidKhanPathan/CVE-2022-40471 (12 stars, last pushed 2022-10-15): RCE Exploit and Research
- Dharan10/CVE-2022-40471 (last pushed 2025-12-30): Exploit code for Clinic patient management system v1 unauth rce cpms rce CVE-2022-40471
Also mentioned in 7 other repositories (ARPSyndicate/cvemon, k0mi-tg/CVE-POC, manas3c/CVE-POC, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.sourcecodester.com/php-clinics-patient-management-system-source-code (Product)
- drive.google.com/file/d/1m-wTfOL5gY3huaSEM3YPSf98qIrkl-TW/view (Exploit, Third Party Advisory)
- github.com/RashidKhanPathan/CVE-2022-40471 (Exploit, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.