Skip to content
Path traversal Write-up Intermediate

It’s 37oC, And All We Can Think About Is ColdFusion (Adobe ColdFusion Security Bulletin APSB26-68 CVE Bonanza)

Adobe ColdFusion's RDS FILEIO service allowed unauthenticated arbitrary file read and write via path traversal, and the CKEditor file manager allowed unauthenticated file upload path traversal. An attacker could read sensitive files, write a CFM shell to the webroot, and execute commands as SYSTEM.

Sina Kheirkhah Follow

Published on labs.watchtowr.com

This research is a glimpse into the capability powering the watchTowr Platform, a Preemptive Exposure Management solution. We enable organizations to autonomously validate and mitigate their exposure to emerging threats, ahead of in-the-wild exploitation.

Sina Kheirkhah (@SinSinology), on labs.watchtowr.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 RDS file operations and CKEditor upload endpoint passed user-supplied paths directly to file APIs without canonicalisation or traversal checks, and lacked authentication when enabled.

Impact

An attacker could read arbitrary files, write a web shell to the webroot, and execute commands as NT AUTHORITY\SYSTEM, but RDS must be enabled with authentication disabled, and file uploads must be enabled.

What the attacker needed

RDS enabled; RDS authentication disabled; File uploads enabled (for CKEditor)

The fix

The vulnerabilities were fixed by adding path canonicalisation and traversal checks to RDS file operations and CKEditor uploads, and by blocking dangerous file extensions.

How it was found

  1. Enable RDS and disable authentication (or enable file uploads in CKEditor).
  2. Send a POST request to /CFIDE/main/ide.cfm?ACTION=FILEIO with a length-prefixed RDS body specifying a file path and the READ operation.
  3. Observe the file contents in the response.
  4. Send a similar request with the WRITE operation and a CFM payload to write a shell to the webroot.
  5. Request the uploaded shell to execute commands.

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. Its RDS feature lets developer tools read and write files on the server over HTTP. If RDS is enabled without authentication, an attacker can send crafted requests to read or write any file, including placing a script that runs commands on the server.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Sina Kheirkhah

View all

17 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.