CVE-2022-35946 SQL injection through plugin controller in GLPI
An attacker with General setup rights can exploit SQL injection in the plugin controller to alter database data in GLPI.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-35946?
CVE-2022-35946 is a medium-severity SQL injection vulnerability in Glpi-Project Glpi, published on 14 Sep 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
GLPI stands for Gestionnaire Libre de Parc Informatique and is a Free Asset and IT Management Software package, that provides ITIL Service Desk features, licenses tracking and software auditing. In affected versions request input is not properly validated in the plugin controller and can be used to access low-level API of Plugin class. An attacker can, for instance, alter database data. Attacker must have "General setup" update rights to be able to perform this attack. Users are advised to upgrade to version 10.0.3. Users unable to upgrade should remove the `front/plugin.form.php` script.
Weakness: CWE-89
Which versions are affected by CVE-2022-35946?
It affects 1 product.
Products include Glpi-Project Glpi.
How do I fix CVE-2022-35946?
No fix has been published for CVE-2022-35946 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-35946 being exploited?
There is no known exploitation of CVE-2022-35946 in the wild and no public exploit code.
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-92q5-pfr8-r9r2, UBUNTU-CVE-2022-35946.