Cross-site scripting in GLPI

Published: 2019-07-11 18:48:26 | Updated: 2019-07-11
Severity Medium
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2019-13239
CVSSv3 5.5 [CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P/RL:O/RC:C]
CWE ID CWE-79
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software GLPI
Vulnerable software versions GLPI 9.4.2
GLPI 9.4.1.1
GLPI 9.4.1

Show more

Vendor URL glpi-project

Security Advisory

1) Cross-site scripting

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks via a user picture.

The vulnerability exists due to insufficient sanitization of user-supplied data by the "showMyForm" and "getURLForPicture" functions in "inc/user.class.php". A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Remediation

Install update from vendor's website.

External links

https://github.com/glpi-project/glpi/commit/c2aa7a7cd6af28be3809acc7e7842d2d2008c0fb
https://github.com/glpi-project/glpi/releases/tag/9.4.3
https://www.synacktiv.com/ressources/advisories/GLPI_9.4.0_stored_XSS.pdf