OS Command Injection in ohcount - CVE-2017-16926

 

OS Command Injection in ohcount - CVE-2017-16926

Published: November 22, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU37886
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-16926
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: korsakov
Affected software:
ohcount

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

Ohcount 3.0.0 is prone to a command injection via specially crafted filenames containing shell metacharacters, which can be exploited by an attacker (providing a source tree for Ohcount processing) to execute arbitrary code as the user running Ohcount.


How to mitigate CVE-2017-16926

Install update from vendor's website.

Sources