Vulnerability · Published Mar 3, 2023 · Assigned by GitHub_M

CVE-2023-26047teler-waf contains detection rule bypass via entities payload

Medium 6.5

In plain English

A medium-severity cross-site scripting in teler-waf from kitabisa. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.5%top 55.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/kitabisa/teler-waf0.2.0GHSA-p2pf-g8cq-3gq5
Gogithub.com/kitabisa/teler-waf0.2.0GO-2023-1600

Affected products (as reported)

VendorProductVersions
kitabisa teler-waf < 0.2.0

Weakness: CWE-80, CWE-692, CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

References