#VU14223 Out-of-bounds write in YARA - CVE-2018-12035


Vulnerability identifier: #VU14223

Vulnerability risk: Low

CVSSv4.0: 7.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear]

CVE-ID: CVE-2018-12035

CWE-ID: CWE-787

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
YARA
Server applications / Server solutions for antivurus protection

Vendor: VirusTotal

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists in the yr_execute_code function, as defined in the source code file libyara/exec.c due to out-of-bounds write. A remote attacker can trick the victim into accessing a YARA rule that submits malicious input, trigger memory corruption and execute arbitrary code with elevated privileges.

Successful exploitation of the vulnerability may result in system compromise.

Mitigation
Update to version 3.8.0.

Vulnerable software versions

YARA: 3.0.0 - 3.7.1


External links
https://github.com/VirusTotal/yara/issues/891


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability