id: asus-wl500g-default-login

info:
  name: ASUS WL-500G - Default Login
  author: ritikchaddha
  severity: high
  description: |
    ASUS WL-500 contains a default login vulnerability. Default admin login password 'admin' was found.
  metadata:
    verified: true
    max-request: 1
    shodan-query: "WL-500G"
  tags: default-login,asus,wl-500,vuln

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

    attack: pitchfork
    payloads:
      username:
        - admin
      password:
        - admin

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '401 Unauthorized'
        negative: true

      - type: word
        part: body
        words:
          - '"Main_Index_AccessPoint.asp'
          - 'Main_List.asp'
        condition: and

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