CVE-2016-15031 PHP-Login POST Parameter class.loginscript.php checkLogin sql injection
Remote attackers can exploit SQL injection in the login script to manipulate database queries, potentially reading or modifying data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2016-15031?
CVE-2016-15031 is a high-severity SQL injection vulnerability in PHP-Login, published on 6 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was found in PHP-Login 1.0. It has been declared as critical. This vulnerability affects the function checkLogin of the file login/scripts/class.loginscript.php of the component POST Parameter Handler. The manipulation of the argument myusername leads to sql injection. The attack can be initiated remotely. Upgrading to version 2.0 is able to address this issue. The patch is identified as 0083ec652786ddbb81335ea20da590df40035679. It is recommended to upgrade the affected component. VDB-228022 is the identifier assigned to this vulnerability.
Weakness: CWE-89
Which versions are affected by CVE-2016-15031?
It affects 1 product.
Products include Php-Login Project Php-Login.
How do I fix CVE-2016-15031?
No fix has been published for CVE-2016-15031 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-2016-15031 being exploited?
There is no known exploitation of CVE-2016-15031 in the wild and no public exploit code.
Sources
Also known as GHSA-5cpm-4344-c4hh.