CVE-2023-4872 SourceCodester Contact Manager App add.php sql injection
Remote attackers can exploit SQL injection in the Contact Manager App to read or modify database contents via the add.php script.
- 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-2023-4872?
CVE-2023-4872 is a medium-severity SQL injection vulnerability in SourceCodester Contact Manager App, published on 10 Sep 2023. 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, has been found in SourceCodester Contact Manager App 1.0. This issue affects some unknown processing of the file add.php. The manipulation of the argument contact/contactName leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-239357 was assigned to this vulnerability.
Weakness: CWE-89
Which versions are affected by CVE-2023-4872?
It affects 1 product.
Products include Contact Manager App Project Contact Manager App.
How do I fix CVE-2023-4872?
No fix has been published for CVE-2023-4872 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2023-4872 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-4872 exists.
Other vulnerabilities in SourceCodester Contact Manager App
- CVE-2023-4871 SourceCodester Contact Manager App delete.php sql injection
- CVE-2023-4868 SourceCodester Contact Manager App add.php cross-site request forgery
- CVE-2023-4869 SourceCodester Contact Manager App update.php cross-site request forgery
- CVE-2023-4870 SourceCodester Contact Manager App Contact Information index.php cross site scripting
Sources
Also known as GHSA-9rfw-qc4x-5385.