GHSA-9f95-hhg4-pg4f

Suggest an improvement
Source
https://github.com/advisories/GHSA-9f95-hhg4-pg4f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-9f95-hhg4-pg4f/GHSA-9f95-hhg4-pg4f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9f95-hhg4-pg4f
Aliases
Published
2023-03-01T19:19:43Z
Modified
2024-05-20T21:48:03Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
teler-waf subject to Bypass of Common Web Attack Threat Rule with HTML Entities Payload
Details

Description

teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-based attacks. Versions prior to v0.1.1 are 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.

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.1.1 includes a patch for this vulnerability.

Workarounds

We advised updating their installations to version v0.1.1 and frontwards immediately.

Database specific
{
    "nvd_published_at": "2023-03-02T01:15:00Z",
    "cwe_ids": [
        "CWE-79",
        "CWE-80"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-03-01T19:19:43Z"
}
References

Affected packages

Go / github.com/kitabisa/teler-waf

Package

Name
github.com/kitabisa/teler-waf
View open source insights on deps.dev
Purl
pkg:golang/github.com/kitabisa/teler-waf

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.1.1