Miggo Logo

CVE-2018-14380: Cross-site Scripting in Graylog Server

6.1

CVSS Score
3.0

Basic Information

EPSS Score
0.49863%
Published
5/14/2022
Updated
2/2/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.graylog2:graylog2-servermaven< 2.4.62.4.6

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from unescaped template rendering in typeahead components. The patch (PR #4904) specifically adds _.escape() calls to sanitize suggestion values in TypeAheadInput.jsx. Both components mentioned in the advisory handle user-controlled input for search suggestions without proper output encoding in vulnerable versions. The XSS occurs because user input was directly rendered in HTML templates without sanitization, allowing script execution when suggestions were displayed.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

In *r*ylo* ***or* *.*.*, XSS w*s possi*l* in typ****** *ompon*nts, r*l*t** to *ompon*nts/*ommon/Typ******Input.jsx *n* *ompon*nts/s**r**/Qu*ryInput.ts.

Reasoning

T** vuln*r**ility st*ms *rom un*s**p** t*mpl*t* r*n**rin* in typ****** *ompon*nts. T** p*t** (PR #****) sp**i*i**lly ***s `_.*s**p*()` **lls to s*nitiz* su***stion v*lu*s in `Typ******Input.jsx`. *ot* *ompon*nts m*ntion** in t** **visory **n*l* us*r-