Bug 1939952 (CVE-2021-21324) - CVE-2021-21324 glpi: Insecure Direct Object Reference (IDOR) on "Solutions"
Summary: CVE-2021-21324 glpi: Insecure Direct Object Reference (IDOR) on "Solutions"
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-21324
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: 1939953 1939954
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-17 10:49 UTC by Michael Kaplan
Modified: 2021-03-17 13:20 UTC (History)
1 user (show)

Fixed In Version: glpi 9.5.4
Clone Of:
Environment:
Last Closed: 2021-03-17 13:20:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2021-03-17 10:49:34 UTC
GLPI is an open-source asset and IT management software package that provides ITIL Service Desk features, licenses tracking and software auditing. In GLPI before version 9.5.4 there is an Insecure Direct Object Reference (IDOR) on "Solutions". This vulnerability gives an unauthorized user the ability to enumerate GLPI items names (including users logins) using the knowbase search form (requires authentication). To Reproduce: Perform a valid authentication at your GLPI instance, Browse the ticket list and select any open ticket, click on Solution form, then Search a solution form that will redirect you to the endpoint /"glpi/front/knowbaseitem.php?item_itemtype=Ticket&item_items_id=18&forcetab=Knowbase$1", and the item_itemtype=Ticket parameter present in the previous URL will point to the PHP alias of glpi_tickets table, so just replace it with "Users" to point to glpi_users table instead; in the same way, item_items_id=18 will point to the related column id, so changing it too you should be able to enumerate all the content which has an alias. Since such id(s) are obviously incremental, a malicious party could exploit the vulnerability simply by guessing-based attempts.

Comment 2 Michael Kaplan 2021-03-17 10:50:30 UTC
Created glpi tracking bugs for this issue:

Affects: epel-7 [bug 1939954]
Affects: fedora-32 [bug 1939953]

Comment 3 Product Security DevOps Team 2021-03-17 13:20:05 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.