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-3gq5
JSON: 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: Repository: https://github.com/kitabisa/teler-waf
Blast Radius: 1.8

Affected Packages

go:github.com/kitabisa/teler-waf
Dependent packages: 1
Dependent 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