CVE-2024-37148
High · 8.1CVSS
8.1
EPSS
20.2%
Published
Jul 10, 2024
CISA due date
—
Cloudanix analysis
A bug in GLPI lets someone already logged in secretly change other users' accounts and take them over.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- SQL Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Authenticated SQL injection in AJAX scripts permits modification of user account records, enabling privilege escalation and account takeover.
Why it matters to the business
Compromise of administrative accounts in an IT asset and service management platform can expose sensitive inventory, licenses, and configuration data, disrupting operations and compliance.
How an attack unfolds
An authenticated attacker identifies vulnerable AJAX endpoints, injects crafted SQL payloads via request parameters to alter password hashes or roles of other users, then authenticates as the compromised account to gain elevated control.
How to fix it
Upgrade glpi-project/glpi to the fixed version containing commit 683393a84eeff1e165fa0f9f31067cc9add09b70 (equivalent to 10.0.16).
How to confirm the fix worked
Confirm deployed version matches or exceeds the fixed commit, review changelog for the SQL injection patches, and test AJAX endpoints with injection payloads in a non-production environment.
Typical attack path
- Obtain valid GLPI credentials
- Locate exposed AJAX scripts handling user data
- Submit malicious SQL via crafted POST/GET parameters
- Trigger update of target account credentials or permissions
- Authenticate using the modified account
How to detect it
Review web server and application logs for anomalous SQL syntax or unexpected updates to the glpi_users table; correlate with successful logins from altered accounts.
What your security team should do
- Apply the upgrade to the fixed commit immediately
- Audit recent user account modifications in GLPI logs
- Restrict AJAX endpoint access to least-privilege roles
- Enable web application firewall rules targeting SQL injection patterns
The record
GLPI is an open-source asset and IT management software package that provides ITIL Service Desk features, licenses tracking and software auditing. An authenticated user can exploit a SQL injection vulnerability in some AJAX scripts to alter another user account data and take control of it. Upgrade to 10.0.16.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | glpi | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | glpi | 0 | No fix |
Related vulnerabilities
- CVE-2024-50339 GLPI is a free asset and IT management software package. Also affects glpi
- CVE-2024-48912 GLPI is a free asset and IT management software package. Also affects glpi
- CVE-2024-47761 GLPI is a free asset and IT management software package. Also affects glpi
- CVE-2024-47760 GLPI is a free asset and IT management software package. Also affects glpi
- CVE-2024-47758 GLPI is a free asset and IT management software package. Also affects glpi
- CVE-2024-43416 GLPI is a free asset and IT management software package. Also affects glpi
- CVE-2024-38370 GLPI is a free asset and IT management software package. Also affects glpi
- CVE-2024-45610 GLPI is an open-source asset and IT management software package that provides ITIL… Also affects glpi