CVE-2021-21324 Insecure Direct Object Reference (IDOR) on "Solutions"
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHPUbuntu
Description
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.
Upgrade path
2 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/glpi(Ubuntu 16.04) | = 0.84.8+dfsg.1-1; = 0.84.8+dfsg.1-1ubuntu1; All versions | No fix listed | No fix yet |
| glpi-project glpi | < 9.5.4; = < 9.5.4 | 9.5.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| glpi-project glpi | < 9.5.4 | 9.5.4 |
| glpi-project glpi | = < 9.5.4 | No fix listed |
| ubuntu/glpi(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/glpi(Ubuntu:16.04) | = 0.84.8+dfsg.1-1 | No fix listed |
| ubuntu/glpi(Ubuntu:16.04) | = 0.84.8+dfsg.1-1ubuntu1 | No fix listed |
References
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking release-notes third-party-advisory
- github.com exploit issue-tracking third-party-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking