Juniper Networks
Solutions
Products & Services
Company
Partners
Support
Education

Signature Detail

Security Intelligence Center
Signatures
Print

This site is deprecated. Please CLICK HERE for latest updates

Short Name

APP:MISC:TOMCAT-AJP-LFI

Severity

Major

Recommended

Yes

Recommended Action

Drop

Category

APP

Keywords

Apache Tomcat AJP Connector Local File Inclusion

Release Date

2020/03/12

Update Number

3262

Supported Platforms

idp-4.0+, isg-3.0+, j-series-9.5+, mx-11.4+, srx-12.1+, srx-branch-12.1+, vmx-17.4+, vsrx-12.1+, vsrx3bsd-18.2+

APP: Apache Tomcat AJP Connector Local File Inclusion


This signature detects attempts to exploit a known vulnerability against Apache Tomcat. A successful attack can lead to local file inclusion.

Extended Description

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Tomcat treats AJP connections as having higher trust than, for example, a similar HTTP connection. If such connections are available to an attacker, they can be exploited in ways that may be surprising. In Apache Tomcat 9.0.0.M1 to 9.0.0.30, 8.5.0 to 8.5.50 and 7.0.0 to 7.0.99, Tomcat shipped with an AJP Connector enabled by default that listened on all configured IP addresses. It was expected (and recommended in the security guide) that this Connector would be disabled if not required. This vulnerability report identified a mechanism that allowed: - returning arbitrary files from anywhere in the web application - processing any file in the web application as a JSP Further, if the web application allowed file upload and stored those files within the web application (or the attacker was able to control the content of the web application by some other means) then this, along with the ability to process a file as a JSP, made remote code execution possible. It is important to note that mitigation is only required if an AJP port is accessible to untrusted users. Users wishing to take a defence-in-depth approach and block the vector that permits returning arbitrary files and execution as JSP may upgrade to Apache Tomcat 9.0.31, 8.5.51 or 7.0.100 or later. A number of changes were made to the default AJP Connector configuration in 9.0.31 to harden the default configuration. It is likely that users upgrading to 9.0.31, 8.5.51 or 7.0.100 or later will need to make small changes to their configurations.

Affected Products

  • Apache tomcat 7.0.0
  • Apache tomcat 7.0.1
  • Apache tomcat 7.0.10
  • Apache tomcat 7.0.11
  • Apache tomcat 7.0.12
  • Apache tomcat 7.0.13
  • Apache tomcat 7.0.14
  • Apache tomcat 7.0.15
  • Apache tomcat 7.0.16
  • Apache tomcat 7.0.17
  • Apache tomcat 7.0.18
  • Apache tomcat 7.0.19
  • Apache tomcat 7.0.2
  • Apache tomcat 7.0.20
  • Apache tomcat 7.0.21
  • Apache tomcat 7.0.22
  • Apache tomcat 7.0.23
  • Apache tomcat 7.0.24
  • Apache tomcat 7.0.25
  • Apache tomcat 7.0.26
  • Apache tomcat 7.0.27
  • Apache tomcat 7.0.28
  • Apache tomcat 7.0.29
  • Apache tomcat 7.0.3
  • Apache tomcat 7.0.30
  • Apache tomcat 7.0.31
  • Apache tomcat 7.0.32
  • Apache tomcat 7.0.33
  • Apache tomcat 7.0.34
  • Apache tomcat 7.0.35
  • Apache tomcat 7.0.36
  • Apache tomcat 7.0.37
  • Apache tomcat 7.0.38
  • Apache tomcat 7.0.39
  • Apache tomcat 7.0.4
  • Apache tomcat 7.0.40
  • Apache tomcat 7.0.41
  • Apache tomcat 7.0.42
  • Apache tomcat 7.0.43
  • Apache tomcat 7.0.44
  • Apache tomcat 7.0.45
  • Apache tomcat 7.0.46
  • Apache tomcat 7.0.47
  • Apache tomcat 7.0.48
  • Apache tomcat 7.0.49
  • Apache tomcat 7.0.5
  • Apache tomcat 7.0.50
  • Apache tomcat 7.0.51
  • Apache tomcat 7.0.52
  • Apache tomcat 7.0.53
  • Apache tomcat 7.0.54
  • Apache tomcat 7.0.55
  • Apache tomcat 7.0.56
  • Apache tomcat 7.0.57
  • Apache tomcat 7.0.58
  • Apache tomcat 7.0.59
  • Apache tomcat 7.0.6
  • Apache tomcat 7.0.60
  • Apache tomcat 7.0.61
  • Apache tomcat 7.0.62
  • Apache tomcat 7.0.63
  • Apache tomcat 7.0.64
  • Apache tomcat 7.0.65
  • Apache tomcat 7.0.66
  • Apache tomcat 7.0.67
  • Apache tomcat 7.0.68
  • Apache tomcat 7.0.69
  • Apache tomcat 7.0.7
  • Apache tomcat 7.0.70
  • Apache tomcat 7.0.71
  • Apache tomcat 7.0.72
  • Apache tomcat 7.0.73
  • Apache tomcat 7.0.74
  • Apache tomcat 7.0.75
  • Apache tomcat 7.0.76
  • Apache tomcat 7.0.77
  • Apache tomcat 7.0.78
  • Apache tomcat 7.0.79
  • Apache tomcat 7.0.8
  • Apache tomcat 7.0.80
  • Apache tomcat 7.0.81
  • Apache tomcat 7.0.82
  • Apache tomcat 7.0.83
  • Apache tomcat 7.0.84
  • Apache tomcat 7.0.85
  • Apache tomcat 7.0.86
  • Apache tomcat 7.0.87
  • Apache tomcat 7.0.88
  • Apache tomcat 7.0.89
  • Apache tomcat 7.0.9
  • Apache tomcat 7.0.90
  • Apache tomcat 7.0.91
  • Apache tomcat 7.0.92
  • Apache tomcat 7.0.93
  • Apache tomcat 7.0.94
  • Apache tomcat 7.0.95
  • Apache tomcat 7.0.96
  • Apache tomcat 7.0.97
  • Apache tomcat 7.0.98
  • Apache tomcat 7.0.99
  • Apache tomcat 8.5.0
  • Apache tomcat 8.5.1
  • Apache tomcat 8.5.10
  • Apache tomcat 8.5.11
  • Apache tomcat 8.5.12
  • Apache tomcat 8.5.13
  • Apache tomcat 8.5.14
  • Apache tomcat 8.5.15
  • Apache tomcat 8.5.16
  • Apache tomcat 8.5.17
  • Apache tomcat 8.5.18
  • Apache tomcat 8.5.19
  • Apache tomcat 8.5.2
  • Apache tomcat 8.5.20
  • Apache tomcat 8.5.21
  • Apache tomcat 8.5.22
  • Apache tomcat 8.5.23
  • Apache tomcat 8.5.24
  • Apache tomcat 8.5.25
  • Apache tomcat 8.5.26
  • Apache tomcat 8.5.27
  • Apache tomcat 8.5.28
  • Apache tomcat 8.5.29
  • Apache tomcat 8.5.3
  • Apache tomcat 8.5.30
  • Apache tomcat 8.5.31
  • Apache tomcat 8.5.32
  • Apache tomcat 8.5.33
  • Apache tomcat 8.5.34
  • Apache tomcat 8.5.35
  • Apache tomcat 8.5.36
  • Apache tomcat 8.5.37
  • Apache tomcat 8.5.38
  • Apache tomcat 8.5.39
  • Apache tomcat 8.5.4
  • Apache tomcat 8.5.40
  • Apache tomcat 8.5.41
  • Apache tomcat 8.5.42
  • Apache tomcat 8.5.43
  • Apache tomcat 8.5.44
  • Apache tomcat 8.5.45
  • Apache tomcat 8.5.46
  • Apache tomcat 8.5.47
  • Apache tomcat 8.5.48
  • Apache tomcat 8.5.49
  • Apache tomcat 8.5.5
  • Apache tomcat 8.5.50
  • Apache tomcat 8.5.6
  • Apache tomcat 8.5.7
  • Apache tomcat 8.5.8
  • Apache tomcat 8.5.9
  • Apache tomcat 9.0.0
  • Apache tomcat 9.0.1
  • Apache tomcat 9.0.10
  • Apache tomcat 9.0.11
  • Apache tomcat 9.0.12
  • Apache tomcat 9.0.13
  • Apache tomcat 9.0.14
  • Apache tomcat 9.0.15
  • Apache tomcat 9.0.16
  • Apache tomcat 9.0.17
  • Apache tomcat 9.0.18
  • Apache tomcat 9.0.19
  • Apache tomcat 9.0.2
  • Apache tomcat 9.0.20
  • Apache tomcat 9.0.21
  • Apache tomcat 9.0.22
  • Apache tomcat 9.0.23
  • Apache tomcat 9.0.24
  • Apache tomcat 9.0.25
  • Apache tomcat 9.0.26
  • Apache tomcat 9.0.27
  • Apache tomcat 9.0.28
  • Apache tomcat 9.0.29
  • Apache tomcat 9.0.3
  • Apache tomcat 9.0.30
  • Apache tomcat 9.0.4
  • Apache tomcat 9.0.5
  • Apache tomcat 9.0.6
  • Apache tomcat 9.0.7
  • Apache tomcat 9.0.8
  • Apache tomcat 9.0.9

References

  • CVE: CVE-2020-1938
  • URL: https://lists.apache.org/thread.html/r7c6f492fbd39af34a68681dbbba0468490ff1a97a1bd79c6a53610ef%40%3cannounce.tomcat.apache.org%3e

Site Map
RSS Feeds
Careers
Accessibility
Feedback
Privacy Policy
Legal Notices
Copyright © 1999-2010 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out