CVE-2018-13049 SQL injection in n/a
An attacker can execute arbitrary SQL commands via a crafted LIMIT clause in the search function, potentially accessing or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-13049?
CVE-2018-13049 is a high-severity SQL injection vulnerability in Glpi-Project Glpi, published on 2 Jul 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The constructSQL function in inc/search.class.php in GLPI 9.2.x through 9.3.0 allows SQL Injection, as demonstrated by triggering a crafted LIMIT clause to front/computer.php.
Weakness: CWE-89
Which versions are affected by CVE-2018-13049?
It affects 1 product.
Products include Glpi-Project Glpi.
How do I fix CVE-2018-13049?
Upgrade to a fixed version.
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-2018-13049 being exploited?
There is no known exploitation of CVE-2018-13049 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-jv6v-v4cc-m777, MGASA-2018-0330.