CVE-2016-6795

Source
https://cve.org/CVERecord?id=CVE-2016-6795
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6795.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-6795
Aliases
Published
2017-09-20T17:29:00Z
Modified
2026-10-20T10:47:38Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In the Convention plugin in Apache Struts 2.3.x before 2.3.31, and 2.5.x before 2.5.5, it is possible to prepare a special URL which will be used for path traversal and execution of arbitrary code on server side.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:apache:struts:2.3.20.1:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.20.2:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.20.3:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.20:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.21:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.22:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.23:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.24.1:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.24.2:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.24.3:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.24:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.25:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.26:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.27:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.28.1:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.28:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.29:*:*:*:*:*:*:*",
                "cpe:2.3:a:apache:struts:2.3.30:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "2.3.20"
                        },
                        {
                            "last_affected":  "2.3.20"
                        },
                        {
                            "introduced":  "2.3.20.1"
                        },
                        {
                            "last_affected":  "2.3.20.1"
                        },
                        {
                            "introduced":  "2.3.20.2"
                        },
                        {
                            "last_affected":  "2.3.20.2"
                        },
                        {
                            "introduced":  "2.3.20.3"
                        },
                        {
                            "last_affected":  "2.3.20.3"
                        },
                        {
                            "introduced":  "2.3.21"
                        },
                        {
                            "last_affected":  "2.3.21"
                        },
                        {
                            "introduced":  "2.3.22"
                        },
                        {
                            "last_affected":  "2.3.22"
                        },
                        {
                            "introduced":  "2.3.23"
                        },
                        {
                            "last_affected":  "2.3.23"
                        },
                        {
                            "introduced":  "2.3.24"
                        },
                        {
                            "last_affected":  "2.3.24"
                        },
                        {
                            "introduced":  "2.3.24.1"
                        },
                        {
                            "last_affected":  "2.3.24.1"
                        },
                        {
                            "introduced":  "2.3.24.2"
                        },
                        {
                            "last_affected":  "2.3.24.2"
                        },
                        {
                            "introduced":  "2.3.24.3"
                        },
                        {
                            "last_affected":  "2.3.24.3"
                        },
                        {
                            "introduced":  "2.3.25"
                        },
                        {
                            "last_affected":  "2.3.25"
                        },
                        {
                            "introduced":  "2.3.26"
                        },
                        {
                            "last_affected":  "2.3.26"
                        },
                        {
                            "introduced":  "2.3.27"
                        },
                        {
                            "last_affected":  "2.3.27"
                        },
                        {
                            "introduced":  "2.3.28"
                        },
                        {
                            "last_affected":  "2.3.28"
                        },
                        {
                            "introduced":  "2.3.28.1"
                        },
                        {
                            "last_affected":  "2.3.28.1"
                        },
                        {
                            "introduced":  "2.3.29"
                        },
                        {
                            "last_affected":  "2.3.29"
                        },
                        {
                            "introduced":  "2.3.30"
                        },
                        {
                            "last_affected":  "2.3.30"
                        }
                    ],
                    "source":  "CPE_STRING"
                }
            ],
            "vendor_product":  "apache:struts"
        }
    ]
}
References

Affected packages

Git / github.com/apache/struts

Affected ranges

Type
GIT
Repo
https://github.com/apache/struts
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.20:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.20"
                },
                {
                    "last_affected":  "2.3.20"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.20.1:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.20.1"
                },
                {
                    "last_affected":  "2.3.20.1"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.20.2:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.20.2"
                },
                {
                    "last_affected":  "2.3.20.2"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.20.3:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.20.3"
                },
                {
                    "last_affected":  "2.3.20.3"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.21:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.21"
                },
                {
                    "last_affected":  "2.3.21"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.22:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.22"
                },
                {
                    "last_affected":  "2.3.22"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.23:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.23"
                },
                {
                    "last_affected":  "2.3.23"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.24:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.24"
                },
                {
                    "last_affected":  "2.3.24"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.24.1:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.24.1"
                },
                {
                    "last_affected":  "2.3.24.1"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.24.2:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.24.2"
                },
                {
                    "last_affected":  "2.3.24.2"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.24.3:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.24.3"
                },
                {
                    "last_affected":  "2.3.24.3"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.25:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.25"
                },
                {
                    "last_affected":  "2.3.25"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.26:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.26"
                },
                {
                    "last_affected":  "2.3.26"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.27:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.27"
                },
                {
                    "last_affected":  "2.3.27"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.28:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.28"
                },
                {
                    "last_affected":  "2.3.28"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.28.1:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.28.1"
                },
                {
                    "last_affected":  "2.3.28.1"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.29:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.29"
                },
                {
                    "last_affected":  "2.3.29"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:struts:2.3.30:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.3.30"
                },
                {
                    "last_affected":  "2.3.30"
                }
            ],
            "source":  "CPE_STRING"
        }
    ]
}

Affected versions

2.*
2.3.20
2.3.20.1
2.3.20.2
2.3.20.3
2.3.21
2.3.22
2.3.23
2.3.24
2.3.24.1
2.3.24.2
2.3.24.3
2.3.25
2.3.26
2.3.27
2.3.28
2.3.28.1
2.3.29
2.3.30

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6795.json"