Bug 1886226 (CVE-2020-15226) - CVE-2020-15226 glpi: SQL Injection in the API's search function
Summary: CVE-2020-15226 glpi: SQL Injection in the API's search function
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-15226
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1886228 1886227
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-08 02:11 UTC by Dhananjay Arunesh
Modified: 2020-10-08 02:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-08 02:21:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2020-10-08 02:11:14 UTC
In GLPI before version 9.5.2, there is a SQL Injection in the API's search function. Not only is it possible to break the SQL syntax, but it is also possible to utilise a UNION SELECT query to reflect sensitive information such as the current database version, or database user. The most likely scenario for this vulnerability is with someone who has an API account to the system. The issue is patched in version 9.5.2. A proof-of-concept with technical details is available in the linked advisory.

References:
https://github.com/glpi-project/glpi/commit/3dc4475c56b241ad659cc5c7cb5fb65727409cf0
https://github.com/glpi-project/glpi/security/advisories/GHSA-jwpv-7m4h-5gvc

Comment 1 Dhananjay Arunesh 2020-10-08 02:11:47 UTC
Created glpi tracking bugs for this issue:

Affects: epel-7 [bug 1886228]
Affects: fedora-all [bug 1886227]

Comment 2 Product Security DevOps Team 2020-10-08 02:21:24 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.