id: iptime-router

info:
  name: ipTIME Router Login Panel - Detect
  author: gy741
  severity: info
  description: ipTIME router login panel was detected.
  reference:
    - http://pierrekim.github.io/blog/2015-07-01-poc-with-RCE-against-127-iptime-router-models.html
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: panel,login,iptime,router

http:
  - method: GET
    path:
      - '{{BaseURL}}/sess-bin/login_session.cgi'

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - <TITLE>ipTIME ([A-Z0-9_-]+)<\/TITLE>

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - <TITLE>ipTIME ([A-Z0-9_-]+)<\/TITLE>
# digest: 4a0a004730450220509d6cfa87a25777ec4aeb8fb0b6168b2f7ecb4d582f289081869738a26fabfc022100dd0640bf1d0d8d444799f91bf69f120ec27bd62d0029482230b5c5ea054f8b54:922c64590222798bb761d5b6d8e72950