Bug 1725747 (CVE-2018-18836)

Summary: CVE-2018-18836 netdata: jason injection exists in web_client_api_request_v1_data in web/api/web_api_v1.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: didier.fabert
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-01 17:06:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1725710, 1725749, 1725751    
Bug Blocks:    

Description Dhananjay Arunesh 2019-07-01 11:47:20 UTC
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.

Reference:
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/pull/4521

Upstream commit:
https://github.com/netdata/netdata/commit/92327c9ec211bd1616315abcb255861b130b97ca

Comment 1 Dhananjay Arunesh 2019-07-01 12:08:23 UTC
Created netdata tracking bugs for this issue:

Affects: fedora-all [bug 1725749]

Comment 2 Dhananjay Arunesh 2019-07-01 12:09:03 UTC
Created netdata tracking bugs for this issue:

Affects: epel-all [bug 1725751]

Comment 3 Didier Fabert (tartare) 2019-07-01 17:06:46 UTC

*** This bug has been marked as a duplicate of bug 1725710 ***