Code Evaluation (Apache Struts) S2-016
Invicti identified a code evaluation (Apache Struts), which occurs when input data is run as code.
This is a highly critical issue and should be addressed as soon as possible.
An attacker can execute arbitrary Apache Struts code on the system. The attacker may also be able to execute arbitrary system commands.
Do not accept input from end users which will be directly interpreted as source code. If this is a business requirement, validate all input to the application by removing any data that could be directly interpreted as Apache Struts source code.
Required Skills for Successful Exploitation#
This vulnerability is not difficult to leverage. Apache Struts is a high level language for which there are vast resources available. Successful exploitation requires knowledge of the programming language, access to or the ability to produce source code for use in such attacks, and minimal attack skills.