This is regarding the security flaw in OGNL evaluation is struts.
Can someone give an example how this is exploited?
Imagine I have a request parameter and server returns this back to the client:
http://test/xyz=test
我有一个名为xyz
的变数,在行动类别和共同方案中,可登录和编造。 我有:
<s:property value="%{xyz}" />
如果有人使用URL http://test/xyz=@System@exit(0)
发生什么?