patchminder
Weaponized · Metasploit CVE-2022-2297

Unrestricted file uploadin SourceCodester Clinics Patient Management System.

Published 12 Jul 2022 · Updated 15 Apr 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Medium 6.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 3.4% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

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.

What to do now
  • 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.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Clinics Patient Management System
2.0
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 4 Jul 2022
    CVE ID reserved by VulDB.
  2. 12 Jul 2022
    Published in the CVE List.
  3. 4 Jan 2025
    Metasploit module: Clinic's Patient Management System 1.0 · Unauthenticated RCE.
  4. 15 Apr 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit). CISA assessment (SSVC): exploitation poc.

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known
MetasploitClinic's Patient Management System 1.0 · Unauthenticated RCErank excellentLinked once a fix or workaround is known.

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.

Related

Other Clinics Patient Management System vulnerabilities

Same weakness: Unrestricted file upload

All CWE-434 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-2297: Unrestricted file upload in SourceCodester Clinics Patient Management System. https://patchminder.com/cve/cve-2022-2297/ (accessed 5 December 2026).