AEM Forms standalone deployments vulnerable to unauthenticated RCE and XXE
Adobe Experience Manager Forms standalone installations are vulnerable to unauthenticated remote code execution via Struts devmode and to unauthenticated XML external entity attacks.
Security & privacy Assetnote / Searchlight 29 Jul 2025 Disclosure Prototype evidence
Published as “AEM Forms Pre-Auth Vulnerabilities: Struts Devmode RCE & XXE”
Why it matters
Enterprises running AEM Forms in standalone mode should block external access and apply the released patches to mitigate unauthenticated RCE and XXE risks.
Summary
The researchers examined Adobe Experience Manager Forms deployed on a JBoss server and identified three critical flaws: an insecure Java deserialization in GetDocumentServlet that leads to remote code execution, an unauthenticated XXE in the Axis-based web services, and an authentication-bypass filter combined with Struts2 devmode that enables OGNL injection for RCE. They built proof-of-concept exploits using ysoserial and crafted SOAP requests to demonstrate out-of-band callbacks and file leakage. Adobe has since patched two of the three issues, but the write-up recommends restricting external access to standalone AEM Forms instances.
What they found 4
- GetDocumentServlet deserializes untrusted data without validation, enabling RCE.
“This servlet's doGet method reads a serDoc request parameter, base64-decodes and gunzips it, then passes the result into an ObjectInputStream.readObject() call with no validation of the incoming class types - a classic Java insecure deserialization sink.”
- SecurityCheckHandler parses SOAP headers without disabling external entity resolution, causing XXE.
“The SecurityCheckHandler class parses an EDCSecurity SOAP header value directly with a namespace-aware DOM parser, without disabling external entity resolution.”
- com.adobe.framework.SecurityFilter allows unauthenticated access to URLs containing certain strings.
“it allowed any request whose URL contained the timeout page, fail page, or the string "login." to pass straight through without authentication.”
- Struts2 Devmode left enabled, allowing OGNL injection and remote command execution.
“Struts2 Devmode had been left enabled (presumably forgotten about by the developers at Adobe), before shipping this product to enterprise customers.”
Caveats 3
- Adobe has published a fix for the remaining two vulnerabilities, tracked as CVE-2025-54253 (RCE via Struts DevMode) and CVE-2025-54254 (XXE).
- Struts2 Devmode had been left enabled (presumably forgotten about by the developers at Adobe), before shipping this product to enterprise customers.
- passing the -DproperXalan=true flag to ysoserial resolved this by targeting the correct package.
What’s new here 4
- Disclosed insecure deserialization in GetDocumentServlet leading to RCE.
- Found unauthenticated XXE in Axis web services via SOAP header parsing.
- Identified authentication bypass filter that, together with Struts2 devmode, enables unauthenticated RCE.
- Provided PoC exploits and remediation guidance.