CVE-2022-40471: Remote Code Execution in Clinic's Patient Management System v 1.0 allows Attacker to Upload arbitrary php webs
CVE-2022-40471 is a critical-severity flaw (CVSS 9.8) affecting clinic\'s patient management system. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Critical severity
- EPSS top 2%: very likely to be exploited
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 28.0% (top 2%) |
| CISA exploited list | No |
| Weakness | CWE-434 |
| Published | 2022-10-31 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: RashidKhanPathan/CVE-2022-40471 (10 stars)
- GitHub PoC: Dharan10/CVE-2022-40471 (0 stars)
- Write-up: drive.google.com/file/d/1m-wTfOL5gY3huaSEM3YPSf98qIrkl-TW/view?usp=sharing
- Write-up: www.sourcecodester.com/php-clinics-patient-management-system-source-code
- Metasploit: Clinic's Patient Management System 1.0 - Unauthenticated RCE
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-40471?
clinic\'s patient management system: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-40471 being exploited?
CVE-2022-40471 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-40471 affect?
CVE-2022-40471 affects clinic\'s patient management system. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2022-40471?
Priority 72/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-8565 HIGH 7.3 DOWNGRADE A vulnerability was found in SourceCodesters Clinics Patient Management System 2.0
- CVE-2024-8555 MEDIUM 4.3 DOWNGRADE A vulnerability was found in SourceCodester Clinics Patient Management System 2.0
- CVE-2024-8554 LOW 3.5 DOWNGRADE A vulnerability was found in SourceCodester Clinics Patient Management System 2.0 and classified as problemati
- CVE-2024-7930 MEDIUM 6.3 DOWNGRADE A vulnerability has been found in SourceCodester Clinics Patient Management System 1.0 and classified as criti
- CVE-2024-7841 MEDIUM 6.3 DOWNGRADE A vulnerability classified as critical was found in SourceCodester Clinics Patient Management System 1.0