XSS in Glpi-Project Glpi
CVE-2021-21313
GLPI is open source software which stands for Gestionnaire Libre de Parc Informatique and it is a Free Asset and IT Management Software package. In GLPI before verison 9.5.4, there is a vulnerability in the /ajax/common.tabs.php endpoint, indeed, at least two parameters _target and id are not properly sanitized. Here are two payloads (due to two different exploitations depending on which parameter you act) to exploit the vulnerability:/ajax/common.tabs.php?_target=javascript:alert(document.cookie)&_itemtype=DisplayPreference&_glpi_tab=DisplayPreference$2&id=258&displaytype=Ticket (Payload triggered if you click on the button). /ajax/common.tabs.php?_target=/front/ticket.form.php&_itemtype=Ticket&_glpi_tab=Ticket$1&id=(){};(function%20(){alert(document.cookie);})();function%20a&#.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.009 (58.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 59th percentile — 58.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: 0.000
Affected products
- Glpi-Project Glpi — versions < 9.5.4
Weakness classification (CWE)
References
- github.com/glpi-project/glpi/security/advisories/GHSA-h4hj-mrpg-xfgx (Third Party Advisory)
- github.com/glpi-project/glpi/releases/tag/9.5.4 (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2021-21313?
- CVE-2021-21313 is a medium-severity vulnerability in Glpi-Project Glpi, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 4.9/10. Published 2021-03-03.
- How severe is CVE-2021-21313?
- Medium severity. CVSS v3 base score is 4.9 out of 10.