Bug 1554763 (CVE-2018-7562) - CVE-2018-7562 glpi: Race condition allowing temporary access to an uploaded executable file leading to code execution
Summary: CVE-2018-7562 glpi: Race condition allowing temporary access to an uploaded e...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-7562
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-13 10:18 UTC by Adam Mariš
Modified: 2019-09-29 14:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-13 10:27:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2018-03-13 10:18:56 UTC
A remote code execution issue was discovered in GLPI through 9.2.1. There is a race condition that allows temporary access to an uploaded executable file that will be disallowed. The application allows an authenticated user to upload a file when he/she creates a new ticket via front/fileupload.php. This feature is protected using different types of security features like the check on the file's extension. However, the application uploads and creates a file, though this file is not allowed, and then deletes the file in the uploadFiles method in inc/glpiuploaderhandler.class.php.

Upstream bug:

https://github.com/glpi-project/glpi/pull/3650

Reference:

https://membership.backbox.org/glpi-9-2-1-multiple-vulnerabilities/

Comment 1 Adam Mariš 2018-03-13 10:19:57 UTC
Created glpi tracking bugs for this issue:

Affects: fedora-all [bug 1554764]
Affects: epel-7 [bug 1554765]

Comment 2 Remi Collet 2018-03-13 10:27:49 UTC
RPM is not affected (/var/glpi/files outside web space)


Note You need to log in before you can comment on or make changes to this bug.