id: shell-box

info:
  name: Shell In A Box - Detect
  author: irshad ahamed
  severity: info
  description: |
    Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator
  reference:
    - https://github.com/shellinabox/shellinabox
    - https://www.cvedetails.com/vulnerability-list/vendor_id-15771/product_id-33062/Shellinabox-Project-Shellinabox.html
  classification:
    cpe: cpe:2.3:a:shellinabox_project:shellinabox:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: shellinabox_project
    product: shellinabox
    shodan-query: http.favicon.hash:-629968763
    fofa-query: icon_hash=-629968763
  tags: shell,emulator,detect,panel,login,shellinabox_project,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>Shell In A Box</title>'

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