CVE-2022-2774 SourceCodester Library Management System student.php sql injection
Remote attackers can exploit SQL injection in the student.php file to read or modify database contents in the Library Management System.
- 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-2774?
CVE-2022-2774 is a medium-severity SQL injection vulnerability in SourceCodester Library Management System, published on 11 Aug 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was found in SourceCodester Library Management System. It has been declared as critical. This vulnerability affects unknown code of the file librarian/student.php. The manipulation of the argument title leads to sql injection. The attack can be initiated remotely. VDB-206170 is the identifier assigned to this vulnerability.
Weakness: CWE-89
Which versions are affected by CVE-2022-2774?
It affects 1 product.
Products include Library Management System Project Library Management System.
How do I fix CVE-2022-2774?
No fix has been published for CVE-2022-2774 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-2022-2774 being exploited?
There is no known exploitation of CVE-2022-2774 in the wild and no public exploit code.
Other vulnerabilities in SourceCodester Library Management System
Sources
Also known as GHSA-8q3v-4xrj-vq89.