cbcvebase.
CVE-2021-40960
published 2021-10-01

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

PriorityP357critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
9.77%
94.9th percentile
Galera WebTemplate 1.0 is affected by a directory traversal vulnerability that could reveal information from /etc/passwd and /etc/shadow.

Affected

1 ranges
VendorProductVersion rangeFixed in
galeragalera_webtemplate

Detection & IOCsextracted from sources · hover to see the quote

url{{BaseURL}}/GallerySite/filesrc/fotoilan/388/middle//.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/etc/passwd
path/GallerySite/filesrc/fotoilan/388/middle//.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/etc/passwd
  • HTTP GET request to the double-percent-encoded traversal path under /GallerySite/filesrc/ returning HTTP 200 with root passwd entry indicates successful exploitation.
  • Match on regex pattern 'root:.*:0:0:' in HTTP 200 response body to confirm /etc/passwd disclosure via directory traversal.
  • The traversal payload uses double URL-encoding (%252e instead of %2e / .) to bypass path normalization — look for %252e sequences in access logs targeting /GallerySite/filesrc/.
  • ·Vulnerability is unauthenticated (PR:N, UI:N) and network-reachable (AV:N), meaning no credentials or user interaction are required to exploit it.
  • ·Affected product is specifically Galera WebTemplate version 1.0; the traversal path is fixed and tied to the /GallerySite/filesrc/fotoilan/388/middle/ endpoint.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.