CVE-2022-2297 SourceCodester Clinics Patient Management System unrestricted upload
Attackers can upload malicious PHP files via the profile picture field to execute arbitrary code on the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-2297?
CVE-2022-2297 is a medium-severity vulnerability in SourceCodester Clinics Patient Management System, published on 12 Jul 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-434
Which versions are affected by CVE-2022-2297?
It affects 1 product.
Products include Oretnom23 Clinic\'s Patient Management System.
How do I fix CVE-2022-2297?
No fix has been published for CVE-2022-2297 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-2297 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2297 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in SourceCodester Clinics Patient Management System
Sources
Also known as GHSA-5rjr-j9m9-qpm9.