Skip to content
Access control Write-up Advanced

CVE-2024-0204: Fortra GoAnywhere MFT Authentication Bypass Deep-Dive

The GoAnywhere MFT security filter that guards the initial account setup page could be bypassed with a crafted path containing a traversal sequence, letting an unauthenticated attacker reach the setup form and create a new administrative user. The authors confirmed this by submitting the form with the same traversal and observing a new admin account appear.

Zach Hanley Follow

Published on horizon3.ai

On January 22, 2024 Fortra posted a security advisory for their GoAnywhere MFT product. This advisory details an authentication bypass vulnerability, CVE-2024-0204, that allows an unauthenticated attacker to create an administrative user for the application.

Zach Hanley (@hacks_zach), on horizon3.ai

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the security filter compared the raw request path against the protected endpoint, while the underlying server normalised the path differently, so a traversal sequence reached the setup page without passing the admin-user check.

Impact

An unauthenticated attacker could create an administrative account on an affected installation, giving full control of the application.

What the attacker needed

Network access to the GoAnywhere web interface; no authentication needed

The fix

The vendor patched the issue in version 7.4.1 by adding extra checks to the setup form initialiser, and the advisory also notes the endpoint can be deleted and the service restarted as a mitigation.

How it was found

  1. Request the setup endpoint directly and observe the redirect to the login page.
  2. Inspect the security filter class to see how it decides which paths are allowed.
  3. Send a request to the setup endpoint with a traversal sequence in the path.
  4. Observe that the application now serves the setup page.
  5. Submit the setup form, rewriting the submission request to include the same traversal.
  6. Observe that a new administrative user has been created.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

GoAnywhere is a file transfer product with a web interface. Normally a filter checks every request and sends people who are not logged in to the login page. The researchers found that a specially shaped web address slipped past that check, so the setup page meant only for first-time installation could be reached again and used to add an admin account.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Fortra (GoAnywhere)

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.