CVEvulnerability
CVE-2019-9787
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2019-03-14
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 8.8 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-352
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.
Affected configurations
• wordpress wordpress (< 5.1.1)
Related
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- http://www.securityfocus.com/bid/107411 Third Party Advisory, VDB Entry
- https://blog.ripstech.com/2019/wordpress-csrf-to-rce/ Exploit, Third Party Advisory
- https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html lists.debian.org
- https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/ Release Notes, Vendor Advisory
- https://wordpress.org/support/wordpress-version/version-5-1-1/ Release Notes, Vendor Advisory
- https://wpvulndb.com/vulnerabilities/9230 wpvulndb.com
- https://www.debian.org/security/2020/dsa-4677 www.debian.org
- http://www.securityfocus.com/bid/107411 Third Party Advisory, VDB Entry
- https://blog.ripstech.com/2019/wordpress-csrf-to-rce/ Exploit, Third Party Advisory
- https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html lists.debian.org
- https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/ Release Notes, Vendor Advisory
- https://wordpress.org/support/wordpress-version/version-5-1-1/ Release Notes, Vendor Advisory
- https://wpvulndb.com/vulnerabilities/9230 wpvulndb.com
- https://www.debian.org/security/2020/dsa-4677 www.debian.org