Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS05Zjk1LWhoZzQtcGc0Zs4AAx5S

teler-waf subject to Bypass of Common Web Attack Threat Rule with HTML Entities Payload

Description

teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-based attacks. Versions prior to v0.1.1 are vulnerable to bypassing common web attack rules when a specific HTML entities payload 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. The vulnerability exists due to teler-waf failure to properly sanitize and filter HTML entities in user input.

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.1.1 includes a patch for this vulnerability.

Workarounds

We advised updating their installations to version v0.1.1 and frontwards immediately.

Permalink: https://github.com/advisories/GHSA-9f95-hhg4-pg4f
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05Zjk1LWhoZzQtcGc0Zs4AAx5S
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-9f95-hhg4-pg4f, CVE-2023-26046
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.1.1
Fixed in: 0.1.1
All affected versions: 0.0.1, 0.1.0
All unaffected versions: 0.1.1, 0.1.2, 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