Improper Neutralization of Special Elements in Output Used by a Downstream Component in netdata - CVE-2018-18836
Published: June 18, 2019 / Updated: August 8, 2020
Vulnerability identifier: #VU35820
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2018-18836
CWE-ID: CWE-74
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: www.netdata.cloud
Affected software:
netdata
netdata
Detailed vulnerability description
The vulnerability allows a remote non-authenticated attacker to manipulate data.
An issue was discovered in Netdata 1.10.0. JSON injection exists via the api/v1/data tqx parameter because of web_client_api_request_v1_data in web/api/web_api_v1.c.
How to mitigate CVE-2018-18836
Install update from vendor's website.
Sources
- https://github.com/netdata/netdata/blob/798c141c49ee85bddc8f48f25d2cb593ec96da07/web/api/web_api_v1.c#L388
- https://github.com/netdata/netdata/blob/798c141c49ee85bddc8f48f25d2cb593ec96da07/web/api/web_api_v1.c#L403
- https://github.com/netdata/netdata/commit/92327c9ec211bd1616315abcb255861b130b97ca
- https://github.com/netdata/netdata/pull/4521
- https://www.red4sec.com/cve/netdata_json_injection.txt