PT-2021-14411 · Glpi+1 · Glpi+1
Trasher
·
Published
2021-03-03
·
Updated
2024-05-22
·
CVE-2021-21313
CVSS v3.1
4.9
Medium
| Vector | AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
GLPI versions prior to 9.5.4
Description
The issue concerns a vulnerability in the "/ajax/common.tabs.php" endpoint, where at least two parameters,
target and id, are not properly sanitized. This can be exploited using specific payloads, depending on which parameter is targeted. For example, the endpoint can be exploited by manipulating the target and id parameters to execute malicious code, such as alerting the document cookie.Recommendations
For versions prior to 9.5.4, update to version 9.5.4 or later to resolve the issue.
As a temporary workaround, consider restricting access to the "/ajax/common.tabs.php" endpoint until a patch is applied.
Avoid using the parameters
target and id in the affected API endpoint until the issue is resolved.Fix
Special Elements Injection
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Glpi