GoAnywhere — 2 vulnerability checks

noctis ships 2 vulnerability checks for GoAnywhere, covering 2 CVEs; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

Fortra GoAnywhere MFT unauthenticated setup wizard access

CVECVE-2024-0204
Severitycritical · CVSS 9.8
Categoryauth-bypass — Auth bypass
Serviceshttp, https
Detectionhttp_request, match · highest QoD 75
Feedtests/vulnerabilities/goanywhere/CVE-2024-0204.yaml

Requests the initial account setup wizard through an images/..;/ path traversal and reports when GoAnywhere serves the admin-creation page without authentication.

How noctis detects it

  1. HTTP(S) request GET /goanywhere/images/..;/wizard/InitialAccountSetup.xhtml
  2. Checks wizard_resp.body for Create an administrator account → finding QoD 75: GoAnywhere setup wizard accessible without authentication: …
Feed source — tests/vulnerabilities/goanywhere/CVE-2024-0204.yaml
uid: c4f2a8e7-5b91-4d3c-8a6f-1e9b0d2c7f4a
name: "Fortra GoAnywhere MFT unauthenticated setup wizard access"
description: "Requests the initial account setup wizard through an images/..;/ path traversal and reports when GoAnywhere serves the admin-creation page without authentication."
cves: [CVE-2024-0204]
cvss: 9.8
severity: critical
category: auth-bypass
confidence_base: 0.30
tags:
  - goanywhere
  - auth-bypass
  - admin-creation
  - path-traversal
services:
  - http
  - https
author: noctis
version: "1.0.0"

steps:
  # The ..;/ bypass tricks Java servlet security filters: Tomcat sees the path
  # as /images/..;/wizard/... (a valid path), while the security filter sees
  # /goanywhere/images/ and doesn't apply auth. reqwest preserves ..;/ since
  # the semicolon prevents WHATWG URL normalization from treating it as ..
  - id: setup-wizard-probe
    action: http_request
    method: GET
    path: /goanywhere/images/..;/wizard/InitialAccountSetup.xhtml
    port: "{{port}}"
    tls_insecure: true
    follow_redirects: false
    store_as: wizard_resp

  - id: admin-form-match
    action: match
    source: wizard_resp.body
    pattern: "Create an administrator account"
    condition: "wizard_resp.status == 200"
    on_match:
      finding:
        confidence_delta: 0.45
        qod: 75
        evidence: "GoAnywhere setup wizard accessible without authentication: {{wizard_resp.body}}"

Fortra GoAnywhere MFT License Response Servlet pre-auth exposure

CVECVE-2023-0669
Severityhigh · CVSS 7.2
Categoryexposure — Exposure
Serviceshttp, https
Detectionscript, http_request, match · highest QoD 75
Feedtests/vulnerabilities/goanywhere/CVE-2023-0669.yaml

Posts a marker to the License Response Servlet (/goanywhere/lic/accept) and reports when it is reflected pre-auth in the deserialization error while a control path is not, showing the servlet is reachable without authentication.

How noctis detects it

  1. Parses / computes the next value with a Rhai script
  2. HTTP(S) request POST /goanywhere/lic/accept with a crafted body
  3. HTTP(S) request POST /goanywhere/auth/UserLogin.xhtml with a crafted body
  4. Checks vuln_resp.body for NOCTIS[0-9a-f]{32} → finding QoD 75: GoAnywhere MFT License Response Servlet (/goanywhere/lic/accept) is reachable pre-auth and reflected this run's marker in its deserializati…

References:

Feed source — tests/vulnerabilities/goanywhere/CVE-2023-0669.yaml
uid: 8bed2407-f782-4178-915a-2c2800f0c7ae
name: "Fortra GoAnywhere MFT License Response Servlet pre-auth exposure (CVE-2023-0669)"
description: "Posts a marker to the License Response Servlet (/goanywhere/lic/accept) and reports when it is reflected pre-auth in the deserialization error while a control path is not, showing the servlet is reachable without authentication."
cves: [CVE-2023-0669]
cvss: 7.2
severity: high
category: exposure
confidence_base: 0.30
tags: [goanywhere, fortra, deserialization, exposure, kev]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2023-0669"
  - "https://github.com/0xf4n9x/CVE-2023-0669"
  - "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-0669.yaml"
# CVE-2023-0669 is a pre-auth Java deserialization RCE in the GoAnywhere MFT admin
# console License Response Servlet. noctis detects it SAFELY — by proving the
# vulnerable servlet is reachable without authentication and fails open to the
# deserialization code path, NOT by sending a serialized object / ysoserial gadget.
#
# Mechanism: mint a per-run nonce marker, POST it as the benign `bundle=` value to
# the unauthenticated License Response Servlet (/goanywhere/lic/accept). A vulnerable
# instance routes the request into the servlet, fails to parse the bundle, and
# reflects the marker back in its error response (HTTP 500). A patched/removed
# endpoint returns 404/403 and never reflects. A control POST to a path that must be
# authenticated (/goanywhere/auth/UserLogin.xhtml) must NOT reflect the marker — this
# distinguishes genuine unauth servlet exposure from a blanket echo server.
steps:
  - id: mint-marker
    action: script
    code: '"NOCTIS" + rand_hex(16)'
    store_as: marker

  # Benign probe: the marker is an opaque token, never a serialized object.
  - id: probe-license-servlet
    action: http_request
    method: POST
    path: "/goanywhere/lic/accept"
    port: "{{port}}"
    tls_insecure: true
    follow_redirects: false
    headers:
      Content-Type: "application/x-www-form-urlencoded"
    body: "bundle={{marker}}"
    store_as: vuln_resp

  # Control: a path that a correctly-configured instance requires auth for and
  # that must not reflect the marker. Proves the reflection is servlet-specific.
  - id: control-request
    action: http_request
    method: POST
    path: "/goanywhere/auth/UserLogin.xhtml"
    port: "{{port}}"
    tls_insecure: true
    follow_redirects: false
    headers:
      Content-Type: "application/x-www-form-urlencoded"
    body: "bundle={{marker}}"
    store_as: control_resp

  # Finding fires only when: the servlet returned a 500 deserialization error AND the
  # exact per-run marker was reflected by the servlet AND the control path did not
  # reflect it. The literal shape NOCTIS[0-9a-f]{32} is the matched token; the
  # condition binds it to THIS run's minted marker so a constant echo can't trigger.
  - id: detect
    action: match
    source: vuln_resp.body
    pattern: "NOCTIS[0-9a-f]{32}"
    condition: "vuln_resp.status == 500 && stridx(vuln_resp.body, marker) >= 0 && stridx(control_resp.body, marker) < 0"
    on_match:
      finding:
        confidence_delta: 0.45
        qod: 75
        evidence: "GoAnywhere MFT License Response Servlet (/goanywhere/lic/accept) is reachable pre-auth and reflected this run's marker in its deserialization error (HTTP 500) while the authenticated control path did not — CVE-2023-0669 pre-auth deserialization endpoint exposure. Reflected: {{vuln_resp.body}}"
      stop: true

View these feeds on GitHub