Unrestricted file uploadin SourceCodester Clinics Patient Management System.
Weaponized: a Metasploit exploit is public.
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 4 Jul 2022CVE ID reserved by VulDB.
- 12 Jul 2022Published in the CVE List.
- 4 Jan 2025Metasploit module: Clinic's Patient Management System 1.0 · Unauthenticated RCE.
- 15 Apr 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Clinics Patient Management System vulnerabilities
Same weakness: Unrestricted file upload
- github.com x_refsource_MISC
- vuldb.com x_refsource_MISC
Patchminder. CVE-2022-2297: Unrestricted file upload in SourceCodester Clinics Patient Management System. https://patchminder.com/cve/cve-2022-2297/ (accessed 5 December 2026).