org.apache.struts:struts2-core@6.7.0 vulnerabilities

  • latest version

    6.7.0

  • first published

    17 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.struts:struts2-core package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Remote Code Execution (RCE)

    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.

    How to fix Remote Code Execution (RCE)?

    Upgrade org.apache.struts:struts2-core to version 7.0.0 or higher.

    [,7.0.0)