Headline
GHSA-9f95-hhg4-pg4f: 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.
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2023-26046
teler-waf subject to Bypass of Common Web Attack Threat Rule with HTML Entities Payload
Moderate severity GitHub Reviewed Published Mar 1, 2023 in kitabisa/teler-waf • Updated Mar 1, 2023
Package
gomod github.com/kitabisa/teler-waf (Go)
Affected versions
< 0.1.1
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.
References
- GHSA-9f95-hhg4-pg4f
- kitabisa/teler-waf@d1d49cf
- kitabisa/[email protected]…v0.1.1
- https://github.com/kitabisa/teler-waf/releases/tag/v0.1.1
Published to the GitHub Advisory Database
Mar 1, 2023
Related news
teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-based attacks. In teler-waf prior to version 0.1.1 is 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. 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. This issue has been fixed in version 0.1.1.