CVE-2023-26047 teler-waf contains detection rule bypass via 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 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. 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 patched in version 0.2.0.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| kitabisa github.com/kitabisa/teler-waf | < 0.2.0; = < 0.2.0 | 0.2.0 | Fixed |
| kitabisa github.com/kitabisa/teler-waf(Go) | < 0.2.0 | 0.2.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kitabisa github.com/kitabisa/teler-waf(Go) | < 0.2.0 | 0.2.0 |
| kitabisa github.com/kitabisa/teler-waf | = < 0.2.0 | No fix listed |
| kitabisa github.com/kitabisa/teler-waf | < 0.2.0 | 0.2.0 |
References
- https://github.com/kitabisa/teler-waf/security/advisories/GHSA-p2pf-g8cq-3gq5 third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/dwisiswant0/cwa-filter-rules/commit/d818d1645832d1a02cd210c7680e692d2bf4313b patch
- github.com patch
- github.com product
- github.com
- https://github.com/kitabisa/teler-waf/releases/tag/v0.2.0 release-notes
- pkg.go.dev
- github.com vendor-advisory