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-21312

5.4 · MEDIUM
Published Mar 3, 2021 glpi-project CWE-79 EPSS 0.59% (46th pctl)

Overview

CVE-2021-21312 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 5.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.4, 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 within the document upload function (Home > Management > Documents > Add, or /front/document.form.php endpoint), indeed one of the form field: "Web Link" is not properly sanitized and a malicious user (who has document upload rights) can use it to deliver JavaScript payload. For example if you use the following payload: " accesskey="x" onclick="alert(1)" x=", the content will be saved within the database without any control. And then once you return to the summary documents page, by clicking on the "Web Link" of the newly created file it will create a new empty tab, but on the initial tab the pop-up "1" will appear.

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-21312?

CVE-2021-21312 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 5.4 (MEDIUM).

How severe is CVE-2021-21312?

This vulnerability has a CVSS 3.1 base score of 5.4, 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-21312?

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-21312?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-21312 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.