Vulnerabilities · 2019 · Wordpress
CVE-2019-9787
Wordpress vulnerability
WordPress before 5.1.1 does not properly filter comment content, leading to Remote Code Execution by unauthenticated users in a default configuration. This occurs because CSRF protection is mishandled, and because Search Engine Optimization of A elements is performed incorrectly, leading to XSS. The XSS results in administrative access, which allows arbitrary changes to .php files. This is related to wp-admin/includes/ajax-actions.php and wp-includes/comment.php.
Affected products
Wordpress. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Wordpress runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/ · Vendor Advisory
- wordpress.org/support/wordpress-version/version-5-1-1/ · Vendor Advisory
- github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b · Patch
- www.securityfocus.com/bid/107411 · Third Party Advisory
- blog.ripstech.com/2019/wordpress-csrf-to-rce/ · Exploit
- lists.debian.org/debian-lts-announce/2019/03/msg00044.html
- wpvulndb.com/vulnerabilities/9230
- www.debian.org/security/2020/dsa-4677
- nvd.nist.gov/vuln/detail/CVE-2019-9787
- cve.org/CVERecord?id=CVE-2019-9787
More vulnerabilities in Wordpress products
CVE-2024-31211CVE-2024-31210CVE-2024-8914CVE-2024-4439CVE-2023-39999CVE-2023-38000CVE-2023-22622CVE-2023-5561All 407
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.