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.

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.

Affected Products

The following products are affected by CVE-2019-9787 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Wordpress wordpress
References to Advisories, Solutions, and Tools

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

Updated: 1 year, 9 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 15, 2023, 5:05 p.m. This repo has been linked 3 different CVEs too.

WordPress Pen Testing

Updated: 3 months, 2 weeks ago
3 stars 0 fork 0 watcher
Born at : Oct. 23, 2022, 8:42 p.m. This repo has been linked 100 different CVEs too.

None

Updated: 2 years, 6 months ago
0 stars 0 fork 0 watcher
Born at : April 30, 2022, 12:19 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 years, 6 months ago
0 stars 0 fork 0 watcher
Born at : April 17, 2022, 11:20 p.m. This repo has been linked 3 different CVEs too.

None

Updated: 2 years, 10 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 28, 2021, 6:07 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 3 years ago
0 stars 0 fork 0 watcher
Born at : Oct. 26, 2021, 5:09 a.m. This repo has been linked 3 different CVEs too.

Overview PoC of CSRF CVE-2019-9787 WordPress Version 5.1.1

HTML

Updated: 3 years, 4 months ago
0 stars 0 fork 0 watcher
Born at : June 29, 2021, 8:57 a.m. This repo has been linked 1 different CVEs too.

Desarrollo del CTF DerpNStink

Updated: 3 years, 6 months ago
0 stars 1 fork 1 watcher
Born at : April 22, 2021, 1:40 p.m. This repo has been linked 41 different CVEs too.

Automatic monitor github cve using Github Actions

Python

Updated: 2 months ago
1 stars 56 fork 56 watcher
Born at : April 7, 2021, 11:16 a.m. This repo has been linked 1007 different CVEs too.

None

Updated: 1 year, 7 months ago
0 stars 0 fork 0 watcher
Born at : April 6, 2021, 2:04 a.m. This repo has been linked 2 different CVEs too.

None

Updated: 8 months, 2 weeks ago
33 stars 3 fork 3 watcher
Born at : March 12, 2021, 12:22 p.m. This repo has been linked 1063 different CVEs too.

None

Updated: 1 year, 3 months ago
17 stars 10 fork 10 watcher
Born at : Jan. 2, 2021, 10:19 p.m. This repo has been linked 1050 different CVEs too.

None

Updated: 3 months ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

Try to reproduce this issue with Docker

HTML Dockerfile Makefile Shell

Updated: 10 months, 1 week ago
0 stars 1 fork 1 watcher
Born at : May 19, 2020, 10:09 p.m. This repo has been linked 1 different CVEs too.

This is a recurrence of cve-2019-9787 on Wordpress and a hash-based defense.

HTML PHP JavaScript

Updated: 2 years, 3 months ago
3 stars 0 fork 0 watcher
Born at : May 1, 2020, 1:44 p.m. This repo has been linked 1 different CVEs too.

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]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability