github.com/kitabisa/teler-waf
Affected
- introduced
0, fixed0.2.0(semver)
Fixed versions
0.2.0
Fix
- Fixed version
0.2.0go get github.com/kitabisa/[email protected]
Advisory
Also known as: CVE-2023-26047, GO-2023-1600
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.
Medium Basis: The source's own band: MODERATE
0, fixed 0.2.0 (semver)0.2.0
0.2.0go get github.com/kitabisa/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0