Bug 1886255 (CVE-2020-15177) - CVE-2020-15177 glpi: install/install.php endpoint insecurely stores user input into the database as url_base and url_base_api leads to XSS
Summary: CVE-2020-15177 glpi: install/install.php endpoint insecurely stores user inpu...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-15177
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: 1886265 1886266
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-08 04:49 UTC by Dhananjay Arunesh
Modified: 2020-10-08 08:21 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-10-08 08:21:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2020-10-08 04:49:02 UTC
In GLPI before version 9.5.2, the `install/install.php` endpoint insecurely stores user input into the database as `url_base` and `url_base_api`. These settings are referenced throughout the application and allow for vulnerabilities like Cross-Site Scripting and Insecure Redirection Since authentication is not required to perform these changes,anyone could point these fields at malicious websites or form input in a way to trigger XSS. Leveraging JavaScript it's possible to steal cookies, perform actions as the user, etc. The issue is patched in version 9.5.2.

References:
https://github.com/glpi-project/glpi/commit/a8109d4ee970a222faf48cf48fae2d2f06465796
https://github.com/glpi-project/glpi/security/advisories/GHSA-prvh-9m4h-4m79

Comment 1 Dhananjay Arunesh 2020-10-08 05:17:40 UTC
Created glib tracking bugs for this issue:

Affects: epel-7 [bug 1886266]


Created glpi tracking bugs for this issue:

Affects: fedora-all [bug 1886265]

Comment 2 Paul Howarth 2020-10-08 05:51:44 UTC
Note that this package is orphaned and retired in Fedora so it's unlikely to be fixed.

Comment 3 Product Security DevOps Team 2020-10-08 08:21:36 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.