Unauthenticated SQL injection via unvalidated authentication identifier
Published Jun 28, 2022 · Updated Apr 23, 2025
SQL injection in GLPI 9.3.0 through 9.5.7 and 10.0.0 through 10.0.1 allows remote attackers to manipulate database queries at login. Auth::login split the attacker-controlled login_auth value on a hyphen and assigned its unvalidated suffix as auths_id; the fix accepts only recognized authentication types followed by a numeric identifier and casts that identifier. No credentials or user interaction are required, and successful exploitation can read or alter application database data or interrupt service.
Summary
What happened
SQL injection in GLPI 9.3.0 through 9.5.7 and 10.0.0 through 10.0.1 allows remote attackers to manipulate database queries at login. Auth::login split the attacker-controlled login_auth value on a hyphen and assigned its unvalidated suffix as auths_id; the fix accepts only recognized authentication types followed by a numeric identifier and casts that identifier. No credentials or user interaction are required, and successful exploitation can read or alter application database data or interrupt service.
The record
- CVE
- CVE-2022-31061
- Published
- Jun 28, 2022
- Updated
- Apr 23, 2025
- Vendor
- GLPI Project
- Product
- GLPI
- Classifications
- CWE-89, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 28, 2022CVE publishedPublication date reported by the CVE source.
- Apr 23, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 10.0.0, < 10.0.2
- Affected versionversion=>= 9.3.0, < 9.5.8
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo