OS Command Injection in WP Database Backup - #VU18807

 

OS Command Injection in WP Database Backup - #VU18807

Published: June 17, 2019 / Updated: June 18, 2019


Vulnerability identifier: #VU18807
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:P/U:Amber
CVE-ID: N/A
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Prashant Walke
Affected software:
WP Database Backup

Detailed vulnerability description

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

The vulnerability exists due to improper input validation when processing data passed via the "$wp_db_exclude_table" variable in mysqldump function when creating a command to execute the database dump  A remote authenticated attacker (but see vulnerability #1) can inject arbitrary OS commands, which are then executed when the plugin performs a database backup.

Chained exploitation of these two vulnerabilities may allow a remote non-authenticated attacker to execute arbitrary code on the target system.



Remediation

Install updates from vendor's website.

Sources