PT-2018-9337 · Oisf · Suricata-Update

Published

2018-04-18

·

Updated

2022-05-14

·

CVE-2018-1000167

CVSS v2.0

9.3

High

VectorAV:N/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions OISF suricata-update version 1.0.0a1
Description The issue is related to an Insecure Deserialization vulnerability in the yaml.load() function used in several files, including config.py and sources.py. This vulnerability can be exploited through a specially crafted yaml file, potentially leading to Remote Code Execution, even with root privileges if suricata-update is run by root. The "list-sources" command is affected by this bug. An example of how the vulnerability can be triggered is by including lines like hello: !!python/object/apply:os.system ['ls -l > /tmp/output'] in a yaml file.
Recommendations For OISF suricata-update version 1.0.0a1, update to version 1.0.0b1 to resolve the issue. As a temporary workaround, consider avoiding the use of the "list-sources" command until the update is applied. Additionally, restrict access to the yaml.load() function or the files that utilize it, such as config.py and sources.py, to minimize the risk of exploitation.

Exploit

Fix

RCE

Deserialization of Untrusted Data

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2018-1000167
GHSA-7C4H-W765-6PWG
PYSEC-2018-75

Affected Products

Suricata-Update