CVE-2020-15175 in glpi-project glpi
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
In GLPI before version 9.5.2, the `pluginimage.send.php` endpoint allows a user to specify an image from a plugin. The parameters can be maliciously crafted to instead delete the .htaccess file for the files directory. Any user becomes able to read all the files and folders contained in “/files/”. Some of the sensitive information that is compromised are the user sessions, logs, and more. An attacker would be able to get the Administrators session token and use that to authenticate. The issue is patched in version 9.5.2.
Affected software: glpi-project glpi
Scores
- CVSS: 9.1 (critical)
- EPSS: 69.86% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2020-10-07
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Upgrade GLPI to 9.5.2 or later
Patch or upgrade. GLPI 9.5.2 checks the plugin and name parameters of pluginimage.send.php, so a remote user can no longer delete files/.htaccess and read sessions and logs (CVE-2020-15175).
Applies to: GLPI before 9.5.2.
- Check the version under Setup > General > System.
- Back up the database and the files folder.
- Upgrade GLPI to 9.5.2 or a current release and run php bin/console db:update.
- Check that files/.htaccess exists (or that the files folder is outside the web root) and log out all sessions.
- Rerun the vulnerability scan and confirm CVE-2020-15175 is no longer reported.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.