Posted by Daniel Owens via Fulldisclosure on Nov 01 Description Apache Struts2 Core version 7.4.0 and below attempt to prevent arbitrary code execution via Object-Graph Navigation Language (OGNL) through several different mechanisms but only in a cursory fashion -- the libraries only guard against i
Briefing
Written from the coverage below · deepseek-v4.1-flash
A Full Disclosure post describes an OGNL sandbox escape in Apache Struts2 Core 7.4.0 and earlier, where SecurityMemberAccess only blocks immediate OGNL calls. An allowed call that internally invokes reflection executes code outside the intended sandbox.
Why it mattersStruts2 is widely embedded in Java enterprise applications, and OGNL sandbox escapes have historically enabled unauthenticated remote code execution at scale.
ActionUpgrade Apache Struts to a version above 7.4.0 once a fix is released; restrict untrusted OGNL parameter input meanwhile.
Coverage
1 article