字号·· | 护眼
漏洞档案 · 严重

GLPI barcode 插件 路径遍历(CVE-2021-43778)

CVE-2021-43778
CVSS 9.1 / 3.1 EPSS 51.7% CISA KEV 在野利用 公开 PoC · 2 Nuclei 模板
综合风险81/ 100
CVSS9.1严重
EPSS51.7%30 天利用概率
机构收录时间2021-11-25更新 2026-12-01

研判简报

概述

GLPI 的 barcode 插件用于打印条形码与二维码,其 front/send.php 存在路径遍历问题(CWE-22),攻击者可借此读取服务器上的本地文件。安装了该插件的 GLPI 2.x 实例(低于 2.6.1)均受影响。该漏洞已被 CISA KEV 收录,说明存在在野利用,运行 GLPI 并启用 barcode 插件的组织应优先关注。

严重性

CVSS 3.1 评分 9.1(critical),综合风险分 80.74/100;EPSS 30 天利用概率 51.7%,百分位 99.2%(2026-11-27)。攻击面为经 Web 暴露的 GLPI 实例上的 barcode 插件接口,利用门槛低、影响为文件读取。

利用状态

截至核查日期 2026-11-27:CISA KEV 已收录(2022-05-31),CISA SSVC 判定 exploitation=active;存在公开 Nuclei 检测模板(http/cves/2021/CVE-2021-43778.yaml)与 Exploit-DB/公开 PoC(2 条)。勒索软件关联情况材料未给出。参考材料所列 VulnCheck XDB 页面为通用漏洞利用库列表,未直接展示该 CVE 的条目内容,故不据此补充利用细节。

受影响产品

glpi-project 的 barcode 插件(pluginsGLPI:barcode),受影响版本区间 >= 2.0.0, < 2.6.1;前提是 GLPI 实例已安装该插件。部署形态与具体 GLPI 核心版本对应关系材料未给出。

修复版本

官方已在 barcode 插件 2.6.1 中修复(发布时间 2021-11-25)。材料未给出其他分支的补丁信息。

缓解措施

无法立即升级时,按厂商说明删除 front/send.php 文件作为临时规避;KEV 要求动作是依厂商指引应用修复或缓解,若均不可用则停止使用该产品(期限材料未给出)。

响应步骤

  1. 盘点 GLPI 实例是否安装 barcode 插件,并核对插件版本是否落在 >= 2.0.0, < 2.6.1。
  2. 对命中版本升级至 2.6.1 或以上;升级前确认插件与 GLPI 核心兼容性(材料未给出兼容矩阵)。
  3. 暂不能升级的实例,删除 front/send.php 并留存变更记录,同时评估条码打印功能中断影响。
  4. 用公开 Nuclei 模板对暴露在外的 GLPI 做自查,重点检查路径遍历读取本地文件的迹象。
  5. 排查 Web 访问日志中对 barcode 插件路径的可疑遍历请求,结合 T1083/T1005 关注异常文件读取行为。
  6. 无法修复且无法缓解的实例,按 KEV 指引停止使用该插件或下线相关暴露面。

参考来源

  1. https://unit42.paloaltonetworks.com/network-security-trends-cross-site-scripting/kev
  2. https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-43778kev
  3. https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2021-43778kev
  4. https://vulncheck.com/xdb/3e705112705eexploit,vulncheck_xdb
  5. https://github.com/AK-blank/CVE-2021-43778poc,github,exploit,poc_github
  6. https://vulncheck.com/xdb/25954486335aexploit,vulncheck_xdb
  7. https://github.com/hansmach1ne/CVE-portfoliopoc,github
  8. https://vulncheck.com/kev/cve-2021-43778advisory,vulncheck_kev
  9. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-43778.yamlexploit,nuclei
  10. https://github.com/pluginsGLPI/barcode/security/advisories/GHSA-2pjh-h828-wcw9x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  11. https://github.com/pluginsGLPI/barcode/commit/428c3d9adfb446e8492b1c2b7affb3d34072ff46x_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  12. https://github.com/hansmach1ne/MyExploits/tree/main/Path%20Traversal%20in%20GLPI%20Barcode%20pluginx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  13. https://github.com/pluginsGLPI/barcode/releases/tag/2.6.1x_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  14. https://github.com/hansmach1ne/CVE-portfolio/tree/main/CVE-2021-43778
  15. https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-30683advisory,euvd