Vulnerability record · CVE-2021-43778 · published 24 November 2021
CVE-2021-43778: GLPI Barcode plugin path traversal in send.php
Glpi Project · Barcode
The GLPI Barcode plugin before version 2.6.1 contains a path traversal flaw (CWE-22) reachable through the front/send.php endpoint. An unauthenticated remote attacker can read files outside the intended directory on a GLPI instance that has the plugin installed. The issue is patched in 2.6.1, and deleting front/send.php is documented as a workaround.
Description
Barcode is a GLPI plugin for printing barcodes and QR codes. GLPI instances version 2.x prior to version 2.6.1 with the barcode plugin installed are vulnerable to a path traversal vulnerability. This issue was patched in version 2.6.1. As a workaround, delete the `front/send.php` file.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Automated analysis
high priorityUnauthenticated network-reachable file read with a high EPSS score and public exploit code, though no KEV listing and only confidentiality impact.
What it is
The GLPI Barcode plugin before version 2.6.1 contains a path traversal flaw (CWE-22) reachable through the front/send.php endpoint. An unauthenticated remote attacker can read files outside the intended directory on a GLPI instance that has the plugin installed. The issue is patched in 2.6.1, and deleting front/send.php is documented as a workaround.
Impact
An attacker gains unauthorized read access to files on the server, which can expose configuration, credentials or other sensitive data. There is no integrity or availability impact per the CVSS vector.
Attack surface
Reachable over the network via HTTP against the plugin's front/send.php endpoint. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates no authentication and no user interaction are required.
Exploitation
Not listed in CISA KEV, but EPSS is high (0.527, 98.9th percentile) and public exploit code is referenced, indicating meaningful real-world exploitation likelihood.
What to do
- Upgrade the GLPI Barcode plugin to version 2.6.1 or later.
- If immediate upgrade is not possible, delete the front/send.php file as the vendor-documented workaround.
- Restrict network access to GLPI instances and the barcode plugin endpoints to trusted users or networks.
- Verify the plugin is actually installed and remove it if barcode/QR printing is not required.
Detection
- Review web server logs for requests to the barcode plugin's front/send.php containing traversal sequences such as ../ or encoded variants.
- Alert on HTTP responses from send.php returning file contents outside expected barcode output paths.
- Monitor for unexpected access to sensitive files (e.g., configuration or credential files) originating from the GLPI host.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/hansmach1ne/MyExploits/tree/main/Path%20Traversal%20in%20GLPI%20Barcode%20plugin | ExploitThird Party Advisory |
| https://github.com/pluginsGLPI/barcode/commit/428c3d9adfb446e8492b1c2b7affb3d34072ff46 | PatchThird Party Advisory |
| https://github.com/pluginsGLPI/barcode/releases/tag/2.6.1 | Release NotesThird Party Advisory |
| https://github.com/pluginsGLPI/barcode/security/advisories/GHSA-2pjh-h828-wcw9 | PatchThird Party Advisory |
| https://github.com/hansmach1ne/CVE-portfolio/tree/main/CVE-2021-43778 | |
| https://github.com/hansmach1ne/MyExploits/tree/main/Path%20Traversal%20in%20GLPI%20Barcode%20plugin | ExploitThird Party Advisory |
| https://github.com/pluginsGLPI/barcode/commit/428c3d9adfb446e8492b1c2b7affb3d34072ff46 | PatchThird Party Advisory |
| https://github.com/pluginsGLPI/barcode/releases/tag/2.6.1 | Release NotesThird Party Advisory |
| https://github.com/pluginsGLPI/barcode/security/advisories/GHSA-2pjh-h828-wcw9 | PatchThird Party Advisory |
Track CVE-2021-43778 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-43778), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.