GitHub Advisoryadvisory · Go

GHSA-9f95-hhg4-pg4f teler-waf subject to Bypass of Common Web Attack Threat Rule with HTML Entities Payload

MEDIUM Published 2023-03-01 Modified 2024-05-20 Official page ↗
Aliases
CVE-2023-26046
Ecosystem
Go
Packages
github.com/kitabisa/teler-waf
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79, CWE-80
Reviewed
2023-03-01

Affected packages

• Go github.com/kitabisa/teler-waf: < 0.1.1 → fixed in 0.1.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2023-26046 teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-based attacks. vulnerability

Weakness · CWE (2)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness
  • CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page weakness

References