ubuntu-cve-2017-12616
Vulnerability from osv_ubuntu
Published
2017-09-19 00:00
Modified
2025-09-08 16:44
Summary
Details

When using a VirtualDirContext with Apache Tomcat 7.0.0 to 7.0.80 it was possible to bypass security constraints and/or view the source code of JSPs for resources served by the VirtualDirContext using a specially crafted request.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libservlet3.0-java",
            "binary_version": "7.0.52-1ubuntu0.14"
          },
          {
            "binary_name": "libtomcat7-java",
            "binary_version": "7.0.52-1ubuntu0.14"
          },
          {
            "binary_name": "tomcat7",
            "binary_version": "7.0.52-1ubuntu0.14"
          },
          {
            "binary_name": "tomcat7-admin",
            "binary_version": "7.0.52-1ubuntu0.14"
          },
          {
            "binary_name": "tomcat7-common",
            "binary_version": "7.0.52-1ubuntu0.14"
          },
          {
            "binary_name": "tomcat7-docs",
            "binary_version": "7.0.52-1ubuntu0.14"
          },
          {
            "binary_name": "tomcat7-examples",
            "binary_version": "7.0.52-1ubuntu0.14"
          },
          {
            "binary_name": "tomcat7-user",
            "binary_version": "7.0.52-1ubuntu0.14"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "tomcat7",
        "purl": "pkg:deb/ubuntu/tomcat7@7.0.52-1ubuntu0.14?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.0.52-1ubuntu0.14"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.0.42-1",
        "7.0.47-1",
        "7.0.50-1",
        "7.0.52-1",
        "7.0.52-1ubuntu0.1",
        "7.0.52-1ubuntu0.3",
        "7.0.52-1ubuntu0.6",
        "7.0.52-1ubuntu0.7",
        "7.0.52-1ubuntu0.8",
        "7.0.52-1ubuntu0.9",
        "7.0.52-1ubuntu0.10",
        "7.0.52-1ubuntu0.11",
        "7.0.52-1ubuntu0.13"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libservlet3.0-java",
            "binary_version": "7.0.68-1ubuntu0.4+esm3"
          },
          {
            "binary_name": "libtomcat7-java",
            "binary_version": "7.0.68-1ubuntu0.4+esm3"
          },
          {
            "binary_name": "tomcat7",
            "binary_version": "7.0.68-1ubuntu0.4+esm3"
          },
          {
            "binary_name": "tomcat7-admin",
            "binary_version": "7.0.68-1ubuntu0.4+esm3"
          },
          {
            "binary_name": "tomcat7-common",
            "binary_version": "7.0.68-1ubuntu0.4+esm3"
          },
          {
            "binary_name": "tomcat7-docs",
            "binary_version": "7.0.68-1ubuntu0.4+esm3"
          },
          {
            "binary_name": "tomcat7-examples",
            "binary_version": "7.0.68-1ubuntu0.4+esm3"
          },
          {
            "binary_name": "tomcat7-user",
            "binary_version": "7.0.68-1ubuntu0.4+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "tomcat7",
        "purl": "pkg:deb/ubuntu/tomcat7@7.0.68-1ubuntu0.4+esm3?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.0.68-1ubuntu0.4+esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.0.64-1",
        "7.0.68-1",
        "7.0.68-1ubuntu0.1",
        "7.0.68-1ubuntu0.3",
        "7.0.68-1ubuntu0.4",
        "7.0.68-1ubuntu0.4+esm1",
        "7.0.68-1ubuntu0.4+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libservlet3.0-java",
            "binary_version": "7.0.78-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "tomcat7",
        "purl": "pkg:deb/ubuntu/tomcat7@7.0.78-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.0.78-1",
        "7.0.78-1ubuntu0.1~esm1"
      ]
    }
  ],
  "aliases": [],
  "details": "When using a VirtualDirContext with Apache Tomcat 7.0.0 to 7.0.80 it was possible to bypass security constraints and/or view the source code of JSPs for resources served by the VirtualDirContext using a specially crafted request.",
  "id": "UBUNTU-CVE-2017-12616",
  "modified": "2025-09-08T16:44:21Z",
  "published": "2017-09-19T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2017-12616"
    },
    {
      "type": "REPORT",
      "url": "https://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.81"
    },
    {
      "type": "REPORT",
      "url": "https://lists.apache.org/thread.html/1df9b4552464caa42047062fe7175da0da06c18ecc8daf99258bbda6@%3Cannounce.tomcat.apache.org%3E"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-3665-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2017-12616"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7282-1"
    }
  ],
  "related": [
    "USN-3665-1",
    "USN-7282-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2017-12616"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…