cve-2016-6795
Vulnerability from cvelistv5
Published
2017-09-20 17:00
Modified
2024-09-17 02:33
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Apache Software Foundation Apache Struts Version: 2.3.x before 2.3.31
Version: 2.5.x before 2.5.5
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            providerMetadata: {
               dateUpdated: "2024-08-06T01:43:37.768Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  name: "93773",
                  tags: [
                     "vdb-entry",
                     "x_refsource_BID",
                     "x_transferred",
                  ],
                  url: "http://www.securityfocus.com/bid/93773",
               },
               {
                  tags: [
                     "x_refsource_CONFIRM",
                     "x_transferred",
                  ],
                  url: "https://struts.apache.org/docs/s2-042.html",
               },
               {
                  tags: [
                     "x_refsource_CONFIRM",
                     "x_transferred",
                  ],
                  url: "https://security.netapp.com/advisory/ntap-20180629-0003/",
               },
            ],
            title: "CVE Program Container",
         },
      ],
      cna: {
         affected: [
            {
               product: "Apache Struts",
               vendor: "Apache Software Foundation",
               versions: [
                  {
                     status: "affected",
                     version: "2.3.x before 2.3.31",
                  },
                  {
                     status: "affected",
                     version: "2.5.x before 2.5.5",
                  },
               ],
            },
         ],
         datePublic: "2016-10-18T00:00:00",
         descriptions: [
            {
               lang: "en",
               value: "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.",
            },
         ],
         problemTypes: [
            {
               descriptions: [
                  {
                     description: "Possible path traversal in the Convention plugin",
                     lang: "en",
                     type: "text",
                  },
               ],
            },
         ],
         providerMetadata: {
            dateUpdated: "2019-08-12T20:45:53",
            orgId: "f0158376-9dc2-43b6-827c-5f631a4d8d09",
            shortName: "apache",
         },
         references: [
            {
               name: "93773",
               tags: [
                  "vdb-entry",
                  "x_refsource_BID",
               ],
               url: "http://www.securityfocus.com/bid/93773",
            },
            {
               tags: [
                  "x_refsource_CONFIRM",
               ],
               url: "https://struts.apache.org/docs/s2-042.html",
            },
            {
               tags: [
                  "x_refsource_CONFIRM",
               ],
               url: "https://security.netapp.com/advisory/ntap-20180629-0003/",
            },
         ],
         x_legacyV4Record: {
            CVE_data_meta: {
               ASSIGNER: "security@apache.org",
               DATE_PUBLIC: "2016-10-18T00:00:00",
               ID: "CVE-2016-6795",
               STATE: "PUBLIC",
            },
            affects: {
               vendor: {
                  vendor_data: [
                     {
                        product: {
                           product_data: [
                              {
                                 product_name: "Apache Struts",
                                 version: {
                                    version_data: [
                                       {
                                          version_value: "2.3.x before 2.3.31",
                                       },
                                       {
                                          version_value: "2.5.x before 2.5.5",
                                       },
                                    ],
                                 },
                              },
                           ],
                        },
                        vendor_name: "Apache Software Foundation",
                     },
                  ],
               },
            },
            data_format: "MITRE",
            data_type: "CVE",
            data_version: "4.0",
            description: {
               description_data: [
                  {
                     lang: "eng",
                     value: "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.",
                  },
               ],
            },
            problemtype: {
               problemtype_data: [
                  {
                     description: [
                        {
                           lang: "eng",
                           value: "Possible path traversal in the Convention plugin",
                        },
                     ],
                  },
               ],
            },
            references: {
               reference_data: [
                  {
                     name: "93773",
                     refsource: "BID",
                     url: "http://www.securityfocus.com/bid/93773",
                  },
                  {
                     name: "https://struts.apache.org/docs/s2-042.html",
                     refsource: "CONFIRM",
                     url: "https://struts.apache.org/docs/s2-042.html",
                  },
                  {
                     name: "https://security.netapp.com/advisory/ntap-20180629-0003/",
                     refsource: "CONFIRM",
                     url: "https://security.netapp.com/advisory/ntap-20180629-0003/",
                  },
               ],
            },
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "f0158376-9dc2-43b6-827c-5f631a4d8d09",
      assignerShortName: "apache",
      cveId: "CVE-2016-6795",
      datePublished: "2017-09-20T17:00:00Z",
      dateReserved: "2016-08-12T00:00:00",
      dateUpdated: "2024-09-17T02:33:08.731Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      fkie_nvd: {
         configurations: "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.20:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"22FF6282-0BCA-46EB-9648-6EE3EDA189F2\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.20.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"6D1467BC-9BC8-402D-A420-615CF9698648\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.20.2:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"12CE716B-867F-49CA-BDAF-194714D990C1\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.20.3:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"880AEA69-3705-447D-80FF-60753248158F\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.21:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"CB6057D5-0787-4026-A202-ACD07C862F8D\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.22:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"1B3AE8EA-4D25-4151-A210-ECDE802F8A2F\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.23:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"79C615AE-4709-47EB-85F8-BD944096428E\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.24:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"524C5119-416D-413B-BF1D-29291E23FDB2\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.24.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"45446B16-F531-4C6D-B889-A8A6622C70A2\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.24.2:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"39047809-4E6D-4670-B9BA-D8FD910E38EB\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.24.3:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"71823E13-1896-4EE4-A49C-CFFB717FFD80\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.25:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"291F3624-8AB5-46F2-9BB5-F592DF1C9F88\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.26:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"DD053675-DE5E-40A8-B404-4F36AAC82502\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.27:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"B0392E61-6D77-43C3-8009-96BC0F90B8D1\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.28:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"C778ADED-75B5-4AD3-8CDC-EFDFFAD5A742\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.28.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"067F6249-CC5A-4402-843C-06D5F9F77267\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.29:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"0AFA78DD-B60C-46AD-BCCB-4E15BB16BEDC\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:apache:struts:2.3.30:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"1DA1EABE-5292-44C2-8327-54201A42F204\"}]}]}]",
         descriptions: "[{\"lang\": \"en\", \"value\": \"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.\"}, {\"lang\": \"es\", \"value\": \"En el plugin Convention en Apache Struts versiones 2.3.x anteriores a 2.3.31, y versiones 2.5.x anteriores a 2.5.5, es posible preparar una URL especial que ser\\u00e1 usada para el salto de ruta (path) y una ejecuci\\u00f3n de c\\u00f3digo arbitrario en el lado del servidor.\"}]",
         id: "CVE-2016-6795",
         lastModified: "2024-11-21T02:56:50.397",
         metrics: "{\"cvssMetricV30\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.0\", \"vectorString\": \"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\", \"baseScore\": 9.8, \"baseSeverity\": \"CRITICAL\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 3.9, \"impactScore\": 5.9}], \"cvssMetricV2\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"2.0\", \"vectorString\": \"AV:N/AC:L/Au:N/C:P/I:P/A:P\", \"baseScore\": 7.5, \"accessVector\": \"NETWORK\", \"accessComplexity\": \"LOW\", \"authentication\": \"NONE\", \"confidentialityImpact\": \"PARTIAL\", \"integrityImpact\": \"PARTIAL\", \"availabilityImpact\": \"PARTIAL\"}, \"baseSeverity\": \"HIGH\", \"exploitabilityScore\": 10.0, \"impactScore\": 6.4, \"acInsufInfo\": false, \"obtainAllPrivilege\": false, \"obtainUserPrivilege\": false, \"obtainOtherPrivilege\": false, \"userInteractionRequired\": false}]}",
         published: "2017-09-20T17:29:00.277",
         references: "[{\"url\": \"http://www.securityfocus.com/bid/93773\", \"source\": \"security@apache.org\", \"tags\": [\"Third Party Advisory\", \"VDB Entry\"]}, {\"url\": \"https://security.netapp.com/advisory/ntap-20180629-0003/\", \"source\": \"security@apache.org\"}, {\"url\": \"https://struts.apache.org/docs/s2-042.html\", \"source\": \"security@apache.org\", \"tags\": [\"Vendor Advisory\"]}, {\"url\": \"http://www.securityfocus.com/bid/93773\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\", \"VDB Entry\"]}, {\"url\": \"https://security.netapp.com/advisory/ntap-20180629-0003/\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://struts.apache.org/docs/s2-042.html\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Vendor Advisory\"]}]",
         sourceIdentifier: "security@apache.org",
         vulnStatus: "Modified",
         weaknesses: "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-22\"}]}]",
      },
      nvd: "{\"cve\":{\"id\":\"CVE-2016-6795\",\"sourceIdentifier\":\"security@apache.org\",\"published\":\"2017-09-20T17:29:00.277\",\"lastModified\":\"2024-11-21T02:56:50.397\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"En el plugin Convention en Apache Struts versiones 2.3.x anteriores a 2.3.31, y versiones 2.5.x anteriores a 2.5.5, es posible preparar una URL especial que será usada para el salto de ruta (path) y una ejecución de código arbitrario en el lado del servidor.\"}],\"metrics\":{\"cvssMetricV30\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.0\",\"vectorString\":\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:P/A:P\",\"baseScore\":7.5,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":10.0,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-22\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.20:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"22FF6282-0BCA-46EB-9648-6EE3EDA189F2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.20.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6D1467BC-9BC8-402D-A420-615CF9698648\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.20.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"12CE716B-867F-49CA-BDAF-194714D990C1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.20.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"880AEA69-3705-447D-80FF-60753248158F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.21:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"CB6057D5-0787-4026-A202-ACD07C862F8D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.22:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"1B3AE8EA-4D25-4151-A210-ECDE802F8A2F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.23:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"79C615AE-4709-47EB-85F8-BD944096428E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.24:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"524C5119-416D-413B-BF1D-29291E23FDB2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.24.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"45446B16-F531-4C6D-B889-A8A6622C70A2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.24.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"39047809-4E6D-4670-B9BA-D8FD910E38EB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.24.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"71823E13-1896-4EE4-A49C-CFFB717FFD80\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.25:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"291F3624-8AB5-46F2-9BB5-F592DF1C9F88\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.26:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"DD053675-DE5E-40A8-B404-4F36AAC82502\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.27:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B0392E61-6D77-43C3-8009-96BC0F90B8D1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.28:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C778ADED-75B5-4AD3-8CDC-EFDFFAD5A742\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.28.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"067F6249-CC5A-4402-843C-06D5F9F77267\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.29:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0AFA78DD-B60C-46AD-BCCB-4E15BB16BEDC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:struts:2.3.30:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"1DA1EABE-5292-44C2-8327-54201A42F204\"}]}]}],\"references\":[{\"url\":\"http://www.securityfocus.com/bid/93773\",\"source\":\"security@apache.org\",\"tags\":[\"Third Party Advisory\",\"VDB Entry\"]},{\"url\":\"https://security.netapp.com/advisory/ntap-20180629-0003/\",\"source\":\"security@apache.org\"},{\"url\":\"https://struts.apache.org/docs/s2-042.html\",\"source\":\"security@apache.org\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"http://www.securityfocus.com/bid/93773\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\",\"VDB Entry\"]},{\"url\":\"https://security.netapp.com/advisory/ntap-20180629-0003/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://struts.apache.org/docs/s2-042.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]}]}}",
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.