In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.
Start learningUpgrade org.apache.struts:struts2-core
to version 7.0.0 or higher.
org.apache.struts:struts2-core is a popular open-source framework for developing web applications in the Java programming language.
Affected versions of this package are vulnerable to Remote Code Execution (RCE) via manipulation of file upload parameters that enable path traversal. When using FileUploadInterceptor
, uploading of a malicious file is possible, which may then be executed on the server.
Notes:
This is only exploitable if the application uses FileUploadInterceptor
;
Version 6.4.0 deprecates FileUploadInterceptor
, but to fix the vulnerability its use must be replaced by an instance of Action File Upload and the corresponding interceptor. FileUploadInterceptor
has been removed in 7.0.0.