CVE-2019-9787
WordPress CSRF and XSS Remote Code Execution
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.
INFO
Published Date :
March 14, 2019, 4:29 p.m.
Last Modified :
March 31, 2019, 10:29 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2019-9787 has a 18 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2019-9787
.
URL | Resource |
---|---|
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 | |
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 | |
https://www.debian.org/security/2020/dsa-4677 |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
pen testing project for codepath fall 2022
WordPress Pen Testing
None
None
None
None
Overview PoC of CSRF CVE-2019-9787 WordPress Version 5.1.1
HTML
Desarrollo del CTF DerpNStink
Automatic monitor github cve using Github Actions
Python
None
None
None
None
Try to reproduce this issue with Docker
HTML Dockerfile Makefile Shell
This is a recurrence of cve-2019-9787 on Wordpress and a hash-based defense.
HTML PHP JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2019-9787
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-9787
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
May. 06, 2020
Action Type Old Value New Value Added Reference https://www.debian.org/security/2020/dsa-4677 [No Types Assigned] -
CVE Modified by [email protected]
Mar. 31, 2019
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html [No Types Assigned] -
CVE Modified by [email protected]
Mar. 21, 2019
Action Type Old Value New Value Added Reference https://wpvulndb.com/vulnerabilities/9230 [No Types Assigned] -
Initial Analysis by [email protected]
Mar. 15, 2019
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type http://www.securityfocus.com/bid/107411 No Types Assigned http://www.securityfocus.com/bid/107411 Third Party Advisory, VDB Entry Changed Reference Type https://blog.ripstech.com/2019/wordpress-csrf-to-rce/ No Types Assigned https://blog.ripstech.com/2019/wordpress-csrf-to-rce/ Exploit, Third Party Advisory Changed Reference Type https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b No Types Assigned https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b Patch, Third Party Advisory Changed Reference Type https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/ No Types Assigned https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/ Release Notes, Vendor Advisory Changed Reference Type https://wordpress.org/support/wordpress-version/version-5-1-1/ No Types Assigned https://wordpress.org/support/wordpress-version/version-5-1-1/ Release Notes, Vendor Advisory Added CWE CWE-352 Added CPE Configuration OR *cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* versions up to (excluding) 5.1.1 -
CVE Modified by [email protected]
Mar. 15, 2019
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/107411 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2019-9787
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2019-9787
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
47.19 }} -3.16%
score
0.97551
percentile