Orbeon Forms: The Final Form? On A Journey To RCE
Orbeon Forms ships demo applications by default, including an XPL sandbox that allows arbitrary command execution via the oxf:execute-processor. An unauthenticated attacker could run commands on the server.
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.
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 default installation includes demo applications that expose powerful processors like oxf:execute-processor without authentication or warnings.
Impact
An unauthenticated attacker could execute arbitrary commands on the server, leading to full compromise.
What the attacker needed
Orbeon Forms with default demo apps; no authentication required
The fix
Orbeon removed the examples from the default build in version 2023.1 and recommends following production WAR settings to remove demo applications.
How it was found
- Access the Orbeon Forms instance and navigate to the demo applications.
- Locate the XPL sandbox at /sandbox-transformations/xpl/.
- Inject a processor declaration for oxf:execute-processor into the XPL form.
- Configure the processor to execute a command such as /bin/sh with arguments.
- Transform the output using another processor to view the command result.
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.
Orbeon Forms is a web application for building forms. It comes with example pages that are accessible without logging in. One of these examples lets you run system commands on the server, which is very dangerous.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.