CVE-2023-26046 teler-waf subject to bypass of common web attack threat rule with HTML entities payload
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| kitabisa github.com/kitabisa/teler-waf | < 0.1.1; = < 0.1.1 | 0.1.1 | Fixed |
| kitabisa github.com/kitabisa/teler-waf(Go) | < 0.1.1 | 0.1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kitabisa github.com/kitabisa/teler-waf(Go) | < 0.1.1 | 0.1.1 |
| kitabisa github.com/kitabisa/teler-waf | = < 0.1.1 | No fix listed |
| kitabisa github.com/kitabisa/teler-waf | < 0.1.1 | 0.1.1 |
References
- https://github.com/kitabisa/teler-waf/security/advisories/GHSA-9f95-hhg4-pg4f vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/kitabisa/teler-waf/commit/d1d49cfddfa3ec2adad962870f14b85cd1aaf739 patch
- github.com product
- github.com
- https://github.com/kitabisa/teler-waf/releases/tag/v0.1.1 release-notes
- pkg.go.dev
- github.com vendor-advisory