Arbitrary file upload in Oretnom23 Clinic\'s Patient Management System

CVE-2022-2297

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.

Vulnerability class: Unrestricted File Upload

EPSS: 0.033 (87.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-2297?
CVE-2022-2297 is a medium-severity vulnerability in Oretnom23 Clinic\'s Patient Management System, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 6.3/10. Published 2022-07-12.
How severe is CVE-2022-2297?
Medium severity. CVSS v3 base score is 6.3 out of 10.
Is CVE-2022-2297 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.