Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-21313

4.9 · MEDIUM
Published Mar 3, 2021 glpi-project CWE-74 EPSS 0.92% (58th pctl)

Overview

CVE-2021-21313 is a medium-severity vulnerability affecting glpi-project glpi. It was published on March 3, 2021 and has a CVSS 3.1 base score of 4.9 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.9, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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&#.

Remediation

Check the references section for vendor advisories and patches from glpi-project. Update glpi to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
glpi-project glpi >= 0, < 9.5.4 Affected

Frequently Asked Questions

What is CVE-2021-21313?

CVE-2021-21313 is a medium-severity vulnerability affecting glpi-project glpi. It was published on March 3, 2021 and has a CVSS 3.1 base score of 4.9 (MEDIUM).

How severe is CVE-2021-21313?

This vulnerability has a CVSS 3.1 base score of 4.9, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-21313?

Check the references section for vendor advisories and patches from glpi-project. Update glpi to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-21313?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-21313 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.