Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1wMnBmLWc4Y3EtM2dxNc4AAx5T
teler-waf contains detection rule bypass via Entities payload
Description
teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-based attacks. teler-waf prior to version v0.2.0 is vulnerable to a bypass attack when a specific case-sensitive hex entities payload with special characters such as CR/LF and horizontal tab is used. This vulnerability allows an attacker to execute arbitrary JavaScript code on the victim's browser and compromise the security of the web application.
Impact
An attacker can exploit this vulnerability to bypass common web attack threat rules in teler-waf and launch cross-site scripting (XSS) attacks. The attacker can execute arbitrary JavaScript code on the victim's browser and steal sensitive information, such as login credentials and session tokens, or take control of the victim's browser and perform malicious actions.
Patches
Version v0.2.0 includes a patch for this vulnerability.
Workarounds
We advised updating their installations to version v0.2.0 and frontwards immediately.
Permalink: https://github.com/advisories/GHSA-p2pf-g8cq-3gq5JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wMnBmLWc4Y3EtM2dxNc4AAx5T
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 1 year ago
Updated: about 1 year ago
CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Identifiers: GHSA-p2pf-g8cq-3gq5, CVE-2023-26047
References:
- https://github.com/kitabisa/teler-waf/security/advisories/GHSA-p2pf-g8cq-3gq5
- https://github.com/dwisiswant0/cwa-filter-rules/commit/d818d1645832d1a02cd210c7680e692d2bf4313b
- https://github.com/kitabisa/teler-waf/compare/v0.1.2...v0.2.0
- https://github.com/kitabisa/teler-waf/releases/tag/v0.2.0
- https://github.com/kitabisa/teler-waf/commit/6e1b0e19b8adc1bbc3513a986025d4adf88d59f8
- https://github.com/advisories/GHSA-p2pf-g8cq-3gq5
- https://pkg.go.dev/vuln/GO-2023-1600
- https://nvd.nist.gov/vuln/detail/CVE-2023-26047
Blast Radius: 1.8
Affected Packages
go:github.com/kitabisa/teler-waf
Dependent packages: 1Dependent repositories: 2
Downloads:
Affected Version Ranges: < 0.2.0
Fixed in: 0.2.0
All affected versions: 0.0.1, 0.1.0, 0.1.1, 0.1.2
All unaffected versions: 0.2.0, 0.2.1, 0.2.2, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.8.0, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2.0, 1.2.1, 1.2.2, 1.2.3