ghsa-p2pf-g8cq-3gq5
Vulnerability from github
Description
teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-based attacks. 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.
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.2.0 includes a patch for this vulnerability.
Workarounds
We advised updating their installations to version v0.2.0 and frontwards immediately.
{ "affected": [ { "package": { "ecosystem": "Go", "name": "github.com/kitabisa/teler-waf" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.2.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-26047" ], "database_specific": { "cwe_ids": [ "CWE-692", "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2023-03-01T20:37:23Z", "nvd_published_at": "2023-03-03T23:15:00Z", "severity": "MODERATE" }, "details": "### Description\n\nteler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-based attacks. 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\u0027s browser and compromise the security of the web application.\n\n### Impact\n\nAn 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\u0027s browser and steal sensitive information, such as login credentials and session tokens, or take control of the victim\u0027s browser and perform malicious actions.\n\n### Patches\n\nVersion [v0.2.0](https://github.com/kitabisa/teler-waf/releases/tag/v0.2.0) includes a patch for this vulnerability.\n\n### Workarounds\n\nWe advised updating their installations to version v0.2.0 and frontwards immediately.", "id": "GHSA-p2pf-g8cq-3gq5", "modified": "2024-05-20T21:48:31Z", "published": "2023-03-01T20:37:23Z", "references": [ { "type": "WEB", "url": "https://github.com/kitabisa/teler-waf/security/advisories/GHSA-p2pf-g8cq-3gq5" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26047" }, { "type": "WEB", "url": "https://github.com/dwisiswant0/cwa-filter-rules/commit/d818d1645832d1a02cd210c7680e692d2bf4313b" }, { "type": "WEB", "url": "https://github.com/kitabisa/teler-waf/commit/6e1b0e19b8adc1bbc3513a986025d4adf88d59f8" }, { "type": "PACKAGE", "url": "https://github.com/kitabisa/teler-waf" }, { "type": "WEB", "url": "https://github.com/kitabisa/teler-waf/compare/v0.1.2...v0.2.0" }, { "type": "WEB", "url": "https://github.com/kitabisa/teler-waf/releases/tag/v0.2.0" }, { "type": "WEB", "url": "https://pkg.go.dev/vuln/GO-2023-1600" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "teler-waf contains detection rule bypass via Entities payload" }
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.