A vulnerability in the wp_delete_attachment() function of WordPress could allow an authenticated, remote attacker to execute arbitrary code on a targeted system.
The vulnerability is due to insufficient sanitization of user-supplied input that is used in a call to the PHP unlink() function by the wp_delete_attachment() function, as defined in the wp-includes/post.php file of the affected software. As a result, any file of a WordPress installation could be deleted, including the wp-config.php file, which contains the WordPress database credentials. An attacker could exploit this vulnerability to reinstall WordPress on a targeted system with administrator-level credentials that the attacker created. The attacker could use these credentials to execute arbitrary code on the system.
Functional code that exploits this vulnerability is publicly available.
WordPress.org has not confirmed the vulnerability and software updates are not available.
To exploit this vulnerability, the attacker must have user-level access to the targeted system. This access requirement could reduce the likelihood of a successful exploit.
Administrators are advised to contact the vendor regarding future updates and releases.
Administrators are advised to allow only trusted users to have network access.
Administrators are advised to run both firewall and antivirus applications to minimize the potential of inbound and outbound threats.
Administrators may consider using IP-based access control lists (ACLs) to allow only trusted systems to access the affected systems.
Administrators can help protect affected systems from external attacks by using a solid firewall strategy.
Administrators are advised to monitor affected systems.
At the time this alert was first published, WordPress.org had not released a security announcement.
At the time this alert was first published, WordPress.org had not released software updates.
THIS DOCUMENT IS PROVIDED ON AN "AS IS" BASIS AND DOES NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR USE. YOUR USE OF THE INFORMATION ON THE DOCUMENT OR MATERIALS LINKED FROM
THE DOCUMENT IS AT YOUR OWN RISK. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE ALERTS AT ANY TIME.
A standalone copy or paraphrase of the text of this document that omits the distribution URL is an uncontrolled copy and may lack important information or contain factual errors. The information in this document is intended for end users of Cisco products
Cisco Multivendor Vulnerability Alerts respond to vulnerabilities identified in third-party vendors' products. These alerts contain information compiled from diverse sources and provide comprehensive technical descriptions, objective analytical assessments, workarounds and practical safeguards, and links to vendor advisories and patches.