Vulnerability · Published Mar 2, 2023 · Assigned by GitHub_M

CVE-2023-26046teler-waf subject to bypass of common web attack threat rule with HTML entities payload

Medium 6.5

In plain English

A medium-severity security flaw 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 45% 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 54.6% 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 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/kitabisa/teler-waf0.1.1GHSA-9f95-hhg4-pg4f
Gogithub.com/kitabisa/teler-waf0.1.1GO-2023-1597

Affected products (as reported)

VendorProductVersions
kitabisa teler-waf < 0.1.1

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

References