id: softether-vpn-default-login

info:
  name: SoftEther VPN Admin Console - Default Login
  author: bhutch
  severity: high
  description: |
    The administrative password for the SoftEther VPN Server is blank.
  reference:
    - https://www.softether.org/4-docs/1-manual/3._SoftEther_VPN_Server_Manual/3.3_VPN_Server_Administration#Administration_Authority_for_the_Entire_SoftEther_VPN_Server
  classification:
    cpe: cpe:2.3:a:softether:vpn:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: softether
    product: vpn
    shodan-query: title:"SoftEther VPN Server"
  tags: misconfig,vpn,softether,default-login,vuln

http:
  - raw:
      - |
        GET /admin/default/ HTTP/1.1
        Host: {{Hostname}}
        Authorization: Basic {{base64(username + ':' + password)}}

    attack: pitchfork
    payloads:
      username:
        - administrator
      password:
        - null

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Create new Virtual Hub'
          - 'Toggle navigation'
        condition: and

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