Skip to content
Info disclosure Write-up Intermediate

Defending Against CVE-2024-20767 (ColdFusion Arbitrary File System Read)

A two-step exploit for ColdFusion first obtains a server UUID from a CFAdmin API endpoint, then uses that UUID to access a PMSGenericServlet module that can read local files. An attacker with direct access to the ColdFusion Tomcat server could read arbitrary files on the system.

Brian Follow

Published on hoyahaxa.com

Technical details for CVE-2024-20767 (ColdFusion Arbitrary File System Read) from APSB24-14 have now been publicly disclosed by the researcher who reported it to Adobe PSIRT: https://jeva.cc/2973.html

Brian, on hoyahaxa.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 an access-control gap in the PMSGenericServlet module that allows file reads when a valid server UUID is supplied, combined with a CFAdmin API endpoint that discloses that UUID.

Impact

An attacker with direct access to the ColdFusion Tomcat server could read arbitrary local files; in many environments the vulnerability is not exploitable through an external webserver because /pms is not routed to ColdFusion by default.

What the attacker needed

Direct network access to ColdFusion Tomcat (8500/TCP); no Connector routing /pms to ColdFusion

The fix

Apply the vendor patch; if that is not possible, enforce strict access control on /CFIDE paths, restrict allowed IP addresses, block external access to /pms and remote .cfc files, and fix XXE and SSRF issues in applications.

How it was found

  1. Obtain a server UUID value from a CFAdmin API endpoint.
  2. Use that UUID to access the PMSGenericServlet module via the /pms URI path.
  3. Abuse the module to read local files.

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 is a web application server. A flaw in one of its built-in modules lets someone who can reach the server directly read files stored on that machine, such as configuration files. The attacker first needs a special identifier from another part of the server, then uses it to reach the file-reading module.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Brian

View all

11 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.