Code Injection in TablePress - CVE-2019-20180

 

Code Injection in TablePress - CVE-2019-20180

Published: January 10, 2020


Vulnerability identifier: #VU24178
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2019-20180
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Tobias Bäthge
Affected software:
TablePress

Detailed vulnerability description

The vulnerability allows a remote user to inject arbitrary code into CSV files.

The vulnerability exists in the "tablepress[data]" parameter due to insufficient sanitization of user-supplied data when constructing CSV files. A remote administrator can inject malicious data into the contact form fields that is used later by the plugin to generate CSV files. Such files can be opened with Microsoft Excel built-in functions and utilize its functionality to execute malicious macros.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2019-20180

Install updates from vendor's website.

Sources