MGASA-2020-0220

Source
https://advisories.mageia.org/MGASA-2020-0220.html
Import Source
https://advisories.mageia.org/MGASA-2020-0220.json
JSON Data
https://api.osv.dev/v1/vulns/MGASA-2020-0220
Related
Published
2020-05-24T18:04:47Z
Modified
2020-05-24T17:23:43Z
Summary
Updated glpi packages fix security vulnerabilities
Details

Updated glpi packages fix security vulnerabilities:

In GLPI from version 9.1 and before version 9.4.6, any API user with READ right on User itemtype will have access to full list of users when querying apirest.php/User. The response contains: - All apitokens which can be used to do privileges escalations or read/update/delete data normally non accessible to the current user. - All personaltokens can display another users planning. Exploiting this vulnerability requires the api to be enabled, a technician account. It can be mitigated by adding an application token (CVE-2020-11033).

In GLPI before version 9.4.6, there is a vulnerability that allows bypassing the open redirect protection based which is based on a regexp (CVE-2020-11034).

In GLPI after version 0.83.3 and before version 9.4.6, the CSRF tokens are generated using an insecure algorithm. The implementation uses rand and uniqid and MD5 which does not provide secure values (CVE-2020-11035).

In GLPI before version 9.4.6 there are multiple related stored XSS vulnerabilities. The package is vulnerable to Stored XSS in the comments of items in the Knowledge base. Adding a comment with content "<script>alert(1) </script>" reproduces the attack. This can be exploited by a user with administrator privileges in the User-Agent field. It can also be exploited by an outside party through the following steps: 1. Create a user with the surname " onmouseover="alert(document.cookie) and an empty first name. 2. With this user, create a ticket 3. As an administrator (or other privileged user) open the created ticket 4. On the "last update" field, put your mouse on the name of the user 5. The XSS fires (CVE-2020-11036).

References
Credits

Affected packages

Mageia:7 / glpi

Package

Name
glpi
Purl
pkg:rpm/mageia/glpi?distro=mageia-7

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.4.5-1.2.mga7

Ecosystem specific

{
    "section": "core"
}