Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Wordpress | Wordpress | < 5.1.1 |
Related Weaknesses (CWE)
References
- http://www.securityfocus.com/bid/107411Third Party AdvisoryVDB Entry
- https://blog.ripstech.com/2019/wordpress-csrf-to-rce/ExploitThird Party Advisory
- https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fePatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html
- https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-releRelease NotesVendor Advisory
- https://wordpress.org/support/wordpress-version/version-5-1-1/Release NotesVendor Advisory
- https://wpvulndb.com/vulnerabilities/9230
- https://www.debian.org/security/2020/dsa-4677
- http://www.securityfocus.com/bid/107411Third Party AdvisoryVDB Entry
- https://blog.ripstech.com/2019/wordpress-csrf-to-rce/ExploitThird Party Advisory
- https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fePatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html
- https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-releRelease NotesVendor Advisory
- https://wordpress.org/support/wordpress-version/version-5-1-1/Release NotesVendor Advisory
- https://wpvulndb.com/vulnerabilities/9230
FAQ
What is CVE-2019-9787?
CVE-2019-9787 is a vulnerability with a CVSS score of 8.8 (HIGH). 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...
How severe is CVE-2019-9787?
CVE-2019-9787 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-9787?
Check the references section above for vendor advisories and patch information. Affected products include: Wordpress Wordpress.