PT-2017-3353 · Ohcount · Ohcount
Jonathan Neuschäfer
·
Published
2017-11-21
·
Updated
2019-10-03
·
CVE-2017-16926
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Ohcount version 3.0.0
Description
The issue is related to a lack of input data sanitization, which can be exploited by an attacker providing a source tree for Ohcount processing to execute arbitrary code as the user running Ohcount. This can be achieved through specially crafted filenames containing shell metacharacters.
Recommendations
For Ohcount version 3.0.0, consider validating and sanitizing filenames before processing to prevent command injection attacks. As a temporary workaround, restrict the use of Ohcount to trusted sources and avoid using it with unverified input data. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Command Injection
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Ohcount