CVE-2018-1000167: Critical severity suricata vulnerability
OISF suricata-update version 1.0.0a1 contains an Insecure Deserialization vulnerability in the insecure yaml.load-Function as used in the following files: config.py:136, config.py:142, sources.py:99 and sources.py:131. The "list-sources"-command is affected by this bug. that can result in Remote Code Execution(even as root if suricata-update is called by root). This attack appears to be exploitable via a specially crafted yaml-file at https://www.openinfosecfoundation.org/rules/index.yaml. This vulnerability appears to have been fixed in 1.0.0b1.
Other sources
Suricata-Update uses the insecure yaml.load() function. Code will be executed if the yaml-file contains lines like:
yaml hello: !!python/object/apply:os.system ['ls -l > /tmp/output']
The vulnerable function can be triggered by "suricata-update list-sources". The locally stored index.yaml will be loaded in this function and the malicious code gets executed.
— GitHub
Affected Software
Event History
Frequently Asked Questions
What is CVE-2018-1000167?
CVE-2018-1000167 is a vulnerability in OISF suricata-update version 1.0.0a1 which allows remote code execution.
How severe is CVE-2018-1000167?
CVE-2018-1000167 has a severity rating of 7.8 (out of 10), making it critical.
How does CVE-2018-1000167 affect OISF suricata-update?
CVE-2018-1000167 affects OISF suricata-update version 1.0.0a1 and can be exploited to achieve remote code execution.
Which files are affected by CVE-2018-1000167 in OISF suricata-update?
The insecure yaml.load function used in the following files of OISF suricata-update version 1.0.0a1 is affected: config.py:136, config.py:142, sources.py:99, and sources.py:131.
How can I fix CVE-2018-1000167 in OISF suricata-update?
To fix CVE-2018-1000167 in OISF suricata-update, update to a version that has addressed the vulnerability.