CVE-2022-31061 SQL injection on login page in GLPI
Unauthenticated attackers can exploit SQL injection on the login page to read or modify database contents in GLPI.
- 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-2022-31061?
CVE-2022-31061 is a critical SQL injection vulnerability in Glpi-Project Glpi, published on 28 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing. In affected versions there is a SQL injection vulnerability which is possible on login page. No user credentials are required to exploit this vulnerability. Users are advised to upgrade as soon as possible. There are no known workarounds for this issue.
Weakness: CWE-89
Which versions are affected by CVE-2022-31061?
It affects 1 product.
Products include Glpi-Project Glpi.
How do I fix CVE-2022-31061?
No fix has been published for CVE-2022-31061 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-31061 being exploited?
There is no known exploitation of CVE-2022-31061 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Glpi-Project Glpi
- CVE-2022-35914 Teclib GLPI Remote Code Execution
- CVE-2023-42802 GLPI vulnerable to unallowed PHP script execution
- CVE-2023-28849 GLPI vulnerable to SQL injection and Stored XSS via inventory agent request
- CVE-2022-35947 SQL injection in GLPI
- CVE-2022-31056 SQL injection with _actor parameter in GLPI
Sources
Also known as GHSA-w2gc-v2gm-q7wq, UBUNTU-CVE-2022-31061.