The Most Organized Threat Actors Use Your ITSM (BMC FootPrints Pre-Auth Remote Code Execution Chains)
BMC FootPrints contained an authentication bypass that issued a guest security token, letting unauthenticated users reach otherwise protected endpoints, plus two blind SSRF flaws and a Java deserialisation sink reachable through a servlet. Chained together, these allowed an unauthenticated attacker to achieve remote code execution on the appliance.
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 a guest-authentication filter that issues a session token for a password-reset path without verifying the user, combined with a servlet that deserialises attacker-controlled view state.
Impact
An unauthenticated attacker could run arbitrary code on the appliance, though the SSRF issues on their own were blind and limited to outbound requests.
What the attacker needed
Network access to the appliance; no account needed
The fix
The vendor released hot fixes across the affected branches and confirmed all four issues were fixed.
How it was found
- Request the password reset path and observe that a security token cookie is returned.
- Reuse that cookie on other paths and note the login redirect no longer happens.
- Enumerate the API with the cookie and find endpoints that fetch a supplied URL.
- Request the servlet mapped to the administration page and inspect the view state value.
- Decode the view state and recognise it as a serialised Java object.
- Supply a crafted serialised object to trigger code execution.
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.
This is enterprise helpdesk software that is meant to sit behind a login. The researchers found that one particular web address handed out a special cookie to anyone who asked, and that cookie was treated as a valid session, so the login wall could be walked around. From there they found features that fetch remote content and a page that rebuilds a saved Java object from user input, which let them run their own code on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.