CVE-2017-5664

Assigned byThe organization (CNA) that assigned this CVE ID and published the record, usually the vendor.
Apache Software Foundation (opens in new tab)
Published
Last modified
NVD status
Modified
CVSS 3.07.5High

Description

The error page mechanism of the Java Servlet Specification requires that, when an error occurs and an error page is configured for the error that occurred, the original request and response are forwarded to the error page. This means that the request is presented to the error page with the original HTTP method. If the error page is a static file, expected behaviour is to serve content of the file as if processing a GET request, regardless of the actual HTTP method. The Default Servlet in Apache Tomcat 9.0.0.M1 to 9.0.0.M20, 8.5.0 to 8.5.14, 8.0.0.RC1 to 8.0.43 and 7.0.0 to 7.0.77 did not do this. Depending on the original request this could lead to unexpected and undesirable results for static error pages including, if the DefaultServlet is configured to permit writes, the replacement or removal of the custom error page. Notes for other user provided error pages: (1) Unless explicitly coded otherwise, JSPs ignore the HTTP method. JSPs used as error pages must must ensure that they handle any error dispatch as a GET request, regardless of the actual method. (2) By default, the response generated by a Servlet does depend on the HTTP method. Custom Servlets used as error pages must ensure that they handle any error dispatch as a GET request, regardless of the actual method.

Exploitation

Whether attackers are exploiting this vulnerability, and how likely they are to try in the next 30 days.

CISA SSVC assessmentAbout SSVC (opens in new tab)

CISA's assessment of whether it's exploited, whether attacks can be automated and how much control an attacker gains.

ExploitationWhether CISA has seen exploit code or attacks for this vulnerability.
None known
AutomatableWhether attackers can exploit it at scale without manual steps.
Yes
Technical impactHow much control of the affected system an attacker gains.
Partial control
Assessed

FIRST Exploit Prediction Scoring System (EPSS)About EPSS (opens in new tab)

FIRST's estimate of the chance attackers try to exploit this vulnerability in the next 30 days.

Probability of exploitationIt predicts attempts, not success, and is updated daily.
16.567%
Compared with other CVEs
At or above 97.086% of scored CVEs
Scored

Affected products

The products and versions with the vulnerability.

Listed by CNA

The products and versions affected, according to the organization that published this CVE.

VendorProductAffected versions
Apache Software FoundationApache Tomcat
  • 9.0.0.M1 to 9.0.0.M20
  • 8.5.0 to 8.5.14
  • 8.0.0.RC1 to 8.0.43
  • 7.0.0 to 7.0.77

Listed by NVD

The CPE names vulnerability scanners match, including products that bundle the affected software.

VendorProductTypeVulnerable versions
apachetomcatApplication
  • 7.0.0
  • 7.0.1
  • 7.0.2
  • 7.0.3
  • 7.0.4
  • 7.0.5
  • 7.0.6
  • 7.0.7
  • 7.0.8
  • 7.0.9
  • 7.0.10
  • 7.0.11
  • 7.0.12
  • 7.0.13
  • 7.0.14
  • 7.0.15
  • 7.0.16
  • 7.0.17
  • 7.0.18
  • 7.0.19
  • 7.0.20
  • 7.0.21
  • 7.0.22
  • 7.0.23
  • 7.0.24
  • 7.0.25
  • 7.0.26
  • 7.0.27
  • 7.0.28
  • 7.0.29
  • 7.0.30
  • 7.0.31
  • 7.0.32
  • 7.0.33
  • 7.0.34
  • 7.0.35
  • 7.0.36
  • 7.0.37
  • 7.0.38
  • 7.0.39
  • 7.0.40
  • 7.0.41
  • 7.0.42
  • 7.0.43
  • 7.0.44
  • 7.0.45
  • 7.0.46
  • 7.0.47
  • 7.0.48
  • 7.0.49
  • 7.0.50
  • 7.0.51
  • 7.0.54
  • 7.0.55
  • 7.0.56
  • 7.0.57
  • 7.0.58
  • 7.0.59
  • 7.0.60
  • 7.0.61
  • 7.0.62
  • 7.0.63
  • 7.0.64
  • 7.0.65
  • 7.0.66
  • 7.0.67
  • 7.0.68
  • 7.0.69
  • 7.0.70
  • 7.0.71
  • 7.0.72
  • 7.0.73
  • 7.0.74
  • 7.0.75
  • 7.0.76
  • 7.0.77
  • 8.0.0
  • 8.0.1
  • 8.0.2
  • 8.0.3
  • 8.0.4
  • 8.0.5
  • 8.0.6
  • 8.0.7
  • 8.0.9
  • 8.0.10
  • 8.0.11
  • 8.0.12
  • 8.0.13
  • 8.0.14
  • 8.0.15
  • 8.0.16
  • 8.0.17
  • 8.0.18
  • 8.0.19
  • 8.0.20
  • 8.0.21
  • 8.0.22
  • 8.0.23
  • 8.0.24
  • 8.0.25
  • 8.0.26
  • 8.0.27
  • 8.0.28
  • 8.0.29
  • 8.0.30
  • 8.0.31
  • 8.0.32
  • 8.0.33
  • 8.0.34
  • 8.0.35
  • 8.0.36
  • 8.0.37
  • 8.0.38
  • 8.0.39
  • 8.0.40
  • 8.0.41
  • 8.0.42
  • 8.0.43
  • 8.5.0
  • 8.5.1
  • 8.5.2
  • 8.5.3
  • 8.5.4
  • 8.5.5
  • 8.5.6
  • 8.5.7
  • 8.5.8
  • 8.5.9
  • 8.5.10
  • 8.5.11
  • 8.5.12
  • 8.5.13
  • 8.5.14
  • 9.0.0

Severity

How serious the vulnerability is if exploited, scored from 0 to 10 with the CVSS standard (opens in new tab).

  • 7.5 HighCVSS 3.0 · PrimaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by NVD (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Network
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    Privileges requiredThe access the attacker needs before attacking.
    None
    User interactionWhether someone other than the attacker has to do something, like open a link.
    None
    ScopeWhether the attack can reach beyond the vulnerable component.
    Unchanged
    ConfidentialityHow much data the attacker can read.
    None
    IntegrityHow much data the attacker can change.
    High
    AvailabilityHow much the attacker can disrupt the system or service.
    None

    CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NView in FIRST's calculator (opens in new tab)

  • 5 MediumCVSS 2.0 · PrimaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by NVD (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Network
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    AuthenticationHow many times the attacker has to sign in.
    None
    ConfidentialityHow much data the attacker can read.
    None
    IntegrityHow much data the attacker can change.
    Partial
    AvailabilityHow much the attacker can disrupt the system or service.
    None

    AV:N/AC:L/Au:N/C:N/I:P/A:NView in NVD's calculator (opens in new tab)

Weaknesses and attack patterns

The type of bug behind the vulnerability, and how attackers exploit that type.

  • Improper Handling of Exceptional Conditions · CWE-755 (opens in new tab)

    The product does not handle or incorrectly handles an exceptional condition.

    Likelihood of exploitHow likely MITRE rates attacks on this type of weakness, in general rather than for this vulnerability.
    Medium
    Abstraction
    Class
    Mapping guidance
    Discouraged
    Part of

References

Advisories, patches, exploits and more about this vulnerability.

This product uses the NVD API but is not endorsed or certified by the NVD (opens in new tab). CVE records from the CVE List (opens in new tab), weakness types from MITRE's CWE (opens in new tab)™ and attack patterns from its CAPEC (opens in new tab)™ are © The MITRE Corporation, used under the CVE (opens in new tab), CWE (opens in new tab) and CAPEC (opens in new tab) terms of use. Known exploited vulnerabilities and SSVC assessments are from CISA. Exploit predictions are from FIRST's EPSS (opens in new tab). About this data