Digging Through Six Old Sandbox Escapes in ColdFusion (ca. 2001 through 2012)
The post reviews six historical ColdFusion Sandbox Security bypasses, where code inside a restricted sandbox could escape its limits. Depending on the flaw, an attacker could read sensitive configuration files, access code outside the sandbox, or gain privileges.
Time for some vulnerability archaeology! I'm sure you're as excited as I am.
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 a mix of causes across releases: child processes not inheriting sandbox limits, Java reflection and disabled SecurityManager checks, over-broad file read permissions, and missing permission checks on functions such as GetPageContext().
Impact
An attacker with code running inside a sandbox could read sensitive configuration files, reach code outside the sandbox, or possibly gain privileges; the text notes later ColdFusion versions throw an exception if the Java SecurityManager is disabled.
What the attacker needed
Code execution inside a ColdFusion sandbox; a vulnerable ColdFusion version
The fix
The issues were fixed across the cited security bulletins and patches, for example by narrowing read permissions to the main runtime JAR and adding a permission check to GetPageContext().
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 Sandbox Security is meant to stop code running in one hosted application from touching files or features belonging to another. These old bugs each found a way around that fence, so restricted code could reach things it should not.
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.