Skip to content
Access control Write-up Advanced

CVE-2023-38205: Adobe ColdFusion Access Control Bypass [FIXED]

The July 2023 patch for an earlier ColdFusion access-control bypass could itself be bypassed, letting an attacker reach restricted ColdFusion Administrator endpoints such as CFC and CFM handlers from a disallowed IP address. Rapid7 showed that a crafted path with a malformed double-dot segment slipped past the new canonicalisation check while the underlying servlet still resolved the endpoint.

Stephen Fewer Follow

Published on rapid7.com

On July 11, 2023, Rapid7 and Adobe disclosed CVE-2023-29298, an access control bypass vulnerability affecting ColdFusion, which Rapid7 had reported to Adobe in April 2023. The vulnerability allows an attacker to bypass the product feature that restricts external access to the ColdFusion Administrator.

Rapid7, on rapid7.com

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 canonicalisation helper strips a malformed double-dot segment together with its preceding segment, leaving a path without a leading slash that no longer matches the restricted-path prefix list, while the servlet still resolves the original path to the protected endpoint.

Impact

An attacker could reach restricted ColdFusion Administrator endpoints from a disallowed address, and Rapid7 observed in-the-wild exploitation chains that ended in remote code execution.

What the attacker needed

Network access to the ColdFusion server; target runs an affected ColdFusion version

How it was found

  1. Send a request to a restricted ColdFusion endpoint using a path that contains a malformed double-dot segment before the restricted directory name.
  2. Observe that the access-control check is bypassed and the request to the endpoint completes successfully.

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.

ColdFusion has an admin area that is meant to be reachable only from certain trusted network addresses. A first fix tried to clean up the requested web address before checking it, but the cleaning logic could be tricked with an odd path so the check saw a harmless-looking address while the server still delivered the protected page. This meant the protection could be skipped entirely.

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 by Stephen Fewer

View all

1 more disclosed report, best first.

More from Adobe

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.