Name | CVE-2019-9787 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1742-1 |
Debian Bugs | 924546 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
wordpress (PTS) | jessie, jessie (lts) | 4.1.35+dfsg-0+deb8u1 | fixed |
stretch (security), stretch (lts), stretch | 4.7.23+dfsg-0+deb9u1 | fixed | |
buster (security), buster, buster (lts) | 5.0.21+dfsg1-0+deb10u1 | fixed | |
bullseye (security), bullseye | 5.7.11+dfsg1-0+deb11u1 | fixed | |
bookworm (security), bookworm | 6.1.6+dfsg1-0+deb12u1 | fixed | |
sid, trixie | 6.6.1+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
wordpress | source | wheezy | (unfixed) | end-of-life | ||
wordpress | source | jessie | 4.1.26+dfsg-1+deb8u1 | DLA-1742-1 | ||
wordpress | source | stretch | 4.7.5+dfsg-2+deb9u6 | |||
wordpress | source | buster | 5.0.4+dfsg1-1 | |||
wordpress | source | (unstable) | 5.1.1+dfsg1-1 | 924546 |
https://blog.ripstech.com/2019/wordpress-csrf-to-rce/
Fixed by: https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b