Known Exploited Vulnerability
8.1
HIGH
CVE-2019-6340
Drupal Core Remote Code Execution Vulnerability - [Actively Exploited]
Description

Some field types do not properly sanitize data from non-form sources in Drupal 8.5.x before 8.5.11 and Drupal 8.6.x before 8.6.10. This can lead to arbitrary PHP code execution in some cases. A site is only affected by this if one of the following conditions is met: The site has the Drupal 8 core RESTful Web Services (rest) module enabled and allows PATCH or POST requests, or the site has another web services module enabled, like JSON:API in Drupal 8, or Services or RESTful Web Services in Drupal 7. (Note: The Drupal 7 Services module itself does not require an update at this time, but you should apply other contributed updates associated with this advisory if Services is in use.)

INFO

Published Date :

Feb. 21, 2019, 9:29 p.m.

Last Modified :

Aug. 24, 2020, 5:37 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.2
CISA Notification
CISA KEV (Known Exploited Vulnerabilities)

For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.

Description :

In Drupal Core, some field types do not properly sanitize data from non-form sources. This can lead to arbitrary PHP code execution in some cases.

Required Action :

Apply updates per vendor instructions.

Public PoC/Exploit Available at Github

CVE-2019-6340 has a 56 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-6340 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 Drupal drupal
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-6340.

URL Resource
http://www.securityfocus.com/bid/107106 Third Party Advisory VDB Entry
https://www.drupal.org/sa-core-2019-003 Mitigation Vendor Advisory
https://www.exploit-db.com/exploits/46452/ Patch Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/46459/ Exploit Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/46510/ Exploit Third Party Advisory
https://www.synology.com/security/advisory/Synology_SA_19_09 Third Party Advisory

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).

None

Java

Updated: 3 weeks, 1 day ago
1 stars 1 fork 1 watcher
Born at : Oct. 14, 2024, 6:39 a.m. This repo has been linked 10 different CVEs too.

None

Updated: 4 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : June 18, 2024, 11:35 a.m. This repo has been linked 2 different CVEs too.

网络安全相关工具和文章链接总结

Updated: 2 months ago
57 stars 3 fork 3 watcher
Born at : April 20, 2024, 4:02 a.m. This repo has been linked 30 different CVEs too.

Participated in an offensive security CTF allowing me to demonstrate my penetration testing knowledge using various exploitation tools and resources to gather sensitive information about the DVWA client totalrekall.

Updated: 3 months ago
4 stars 0 fork 0 watcher
Born at : Nov. 15, 2023, 10:03 p.m. This repo has been linked 2 different CVEs too.

My docker-compose.yml file for educational purpose

Updated: 1 year ago
0 stars 0 fork 0 watcher
Born at : Nov. 5, 2023, 8:21 p.m. This repo has been linked 1 different CVEs too.

bounty collection

Shell Python Dockerfile Ruby JavaScript ASP.NET Classic ASP HTML PHP Jupyter Notebook

Updated: 2 months ago
26 stars 4 fork 4 watcher
Born at : Sept. 11, 2023, 11:19 a.m. This repo has been linked 234 different CVEs too.

在公网收集的gobypoc+部分自己加的poc

Updated: 1 month, 4 weeks ago
96 stars 5 fork 5 watcher
Born at : July 28, 2023, 4:28 p.m. This repo has been linked 296 different CVEs too.

None

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : July 5, 2023, 3:16 p.m. This repo has been linked 6 different CVEs too.

None

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

None

Shell

Updated: 1 month, 4 weeks ago
3 stars 2 fork 2 watcher
Born at : March 23, 2023, 4:32 a.m. This repo has been linked 435 different CVEs too.

None

Shell

Updated: 1 month, 4 weeks ago
1 stars 0 fork 0 watcher
Born at : March 19, 2023, 1:53 a.m. This repo has been linked 265 different CVEs too.

None

Shell

Updated: 1 year, 7 months ago
2 stars 0 fork 0 watcher
Born at : Nov. 16, 2022, 9:38 a.m. This repo has been linked 256 different CVEs too.

None

Updated: 1 year, 10 months ago
0 stars 0 fork 0 watcher
Born at : Sept. 30, 2022, 6:29 p.m. This repo has been linked 253 different CVEs too.

None

Shell

Updated: 2 months, 4 weeks ago
1 stars 1 fork 1 watcher
Born at : Aug. 25, 2022, 12:16 a.m. This repo has been linked 250 different CVEs too.

None

Updated: 3 months ago
5 stars 0 fork 0 watcher
Born at : Aug. 24, 2022, 4:41 p.m. This repo has been linked 4 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-6340 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-6340 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
  • CWE Remap by [email protected]

    Aug. 24, 2020

    Action Type Old Value New Value
    Changed CWE CWE-20 CWE-502
  • Modified Analysis by [email protected]

    Mar. 08, 2019

    Action Type Old Value New Value
    Changed Reference Type https://www.exploit-db.com/exploits/46452/ No Types Assigned https://www.exploit-db.com/exploits/46452/ Patch, Third Party Advisory, VDB Entry
    Changed Reference Type https://www.exploit-db.com/exploits/46510/ No Types Assigned https://www.exploit-db.com/exploits/46510/ Exploit, Third Party Advisory
    Changed Reference Type https://www.exploit-db.com/exploits/46459/ No Types Assigned https://www.exploit-db.com/exploits/46459/ Exploit, Third Party Advisory, VDB Entry
  • CVE Modified by [email protected]

    Mar. 08, 2019

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/46510/ [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 05, 2019

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/46459/ [No Types Assigned]
    Added Reference https://www.exploit-db.com/exploits/46452/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 26, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://www.drupal.org/sa-core-2019-003 No Types Assigned https://www.drupal.org/sa-core-2019-003 Mitigation, Vendor Advisory
    Changed Reference Type http://www.securityfocus.com/bid/107106 No Types Assigned http://www.securityfocus.com/bid/107106 Third Party Advisory, VDB Entry
    Changed Reference Type https://www.synology.com/security/advisory/Synology_SA_19_09 No Types Assigned https://www.synology.com/security/advisory/Synology_SA_19_09 Third Party Advisory
    Added CWE CWE-20
    Added CPE Configuration OR *cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* versions from (including) 8.5.0 up to (excluding) 8.5.11 *cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* versions from (including) 8.6.0 up to (excluding) 8.6.10
  • CVE Modified by [email protected]

    Feb. 23, 2019

    Action Type Old Value New Value
    Added Reference https://www.synology.com/security/advisory/Synology_SA_19_09 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 22, 2019

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/107106 [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-6340 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-6340 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

97.44 }} 0.02%

score

0.99959

percentile

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