id: avantfax-panel

info:
  name: AvantFAX Login Panel
  author: pikpikcu,daffainfo
  severity: info
  description: An AvantFAX login panel was discovered.
  reference:
    - http://www.avantfax.com/
  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-668
    cpe: cpe:2.3:a:avantfax:avantfax:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: avantfax
    product: avantfax
    shodan-query:
      - http.title:"AvantFAX - Login"
      - http.title:"avantfax - login"
    fofa-query: title="avantfax - login"
    google-query: intitle:"avantfax - login"
  tags: panel,avantfax,login,discovery

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>- AvantFAX - Login</title>"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<p align="center">([0-9.]+)<\/p>'
# digest: 4a0a00473045022100897f012ad0dcee9e91b9fad7694d421c52a64a9f816c907f1429c956f3bd90e602205becaf1ba4b416dc3da7994b21dd06686187eff2ef188d432bcf913b6a116341:922c64590222798bb761d5b6d8e72950