Sourcecodester · Sourcecodester Clinics Patient Management System · CVE-2022-2297
**Name of the Vulnerable Software and Affected Versions**
SourceCodester Clinics Patient Management System version 2.0
**Description**
A critical issue was found in the system, affecting an unknown function of the file /pms/update user.php?user id=1. The manipulation of the `profile picture` argument with malicious input, such as <?php phpinfo();?>, leads to unrestricted upload. This issue can be exploited remotely. The exploit has been publicly disclosed.
**Recommendations**
For SourceCodester Clinics Patient Management System version 2.0, consider restricting access to the /pms/update user.php file until a patch is available. As a temporary workaround, avoid using the `profile picture` argument in the affected API endpoint to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.