CVE-2021-21312
CVSS V2 Low 3.5
CVSS V3 Medium 4.8
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.
Overview
- CVE ID
- CVE-2021-21312
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-03-03T20:15:12
- Last Modified Date
- 2021-03-10T17:22:13
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:glpi-project:glpi:*:*:*:*:*:*:*:* | 1 | OR | 9.5.4 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:S/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- SINGLE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 3.5
- Severity
- LOW
- Exploitability Score
- 6.8
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- HIGH
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 4.8
- Base Severity
- MEDIUM
- Exploitability Score
- 1.7
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/glpi-project/glpi/security/advisories/GHSA-c7f6-3mr7-3rq2 | Third Party Advisory |
https://github.com/glpi-project/glpi/releases/tag/9.5.4 | Release Notes Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-21312 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21312 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:20:24 | Added to TrackCVE | |||
2022-12-05 23:05:03 | 2021-03-03T20:15Z | 2021-03-03T20:15:12 | CVE Published Date | updated |
2022-12-05 23:05:03 | 2021-03-10T17:22:13 | CVE Modified Date | updated | |
2022-12-05 23:05:03 | Analyzed | Vulnerability Status | updated |