CVE Feed

    Dashboard / CVE / CVE-2020-1938

    CVE-2020-1938

    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.

    Published:Feb 20, 2020
    Last Modified:Aug 25, 2026
    EPS:Feb 24, 2020
    EPSS Score:0.9927
    CVSS Score:9.8

    CISA Notification

    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.

    Required Action:

    Apply updates per vendor instructions.

    Notes:

    No extra notes provided.

    Due Date
    Mar 17, 2022
    1639 days ago
    Alert Date
    Mar 3, 2022
    1653 days ago

    Affected Products

    Vendor
    Apache
    Product
    Geode
    Vendor
    Apache
    Product
    Tomcat
    Vendor
    Blackberry
    Product
    Good Control
    Vendor
    Blackberry
    Product
    Workspaces Server
    Vendor
    Debian
    Product
    Debian Linux
    Vendor
    Fedoraproject
    Product
    Fedora
    Vendor
    Netapp
    Product
    Data Availability Services
    Vendor
    Netapp
    Product
    Oncommand System Manager
    Vendor
    Opensuse
    Product
    Leap
    Vendor
    Oracle
    Product
    Agile Engineering Data Management
    Vendor
    Oracle
    Product
    Agile Product Lifecycle Management
    Vendor
    Oracle
    Product
    Communications Element Manager
    Vendor
    Oracle
    Product
    Communications Instant Messaging Server
    Vendor
    Oracle
    Product
    Health Sciences Empirica Inspections
    Vendor
    Oracle
    Product
    Health Sciences Empirica Signal
    Vendor
    Oracle
    Product
    Hospitality Guest Access
    Vendor
    Oracle
    Product
    Instantis Enterprisetrack
    Vendor
    Oracle
    Product
    Mysql Enterprise Monitor
    Vendor
    Oracle
    Product
    Siebel Ui Framework
    Vendor
    Oracle
    Product
    Transportation Management
    Vendor
    Oracle
    Product
    Workload Manager
    Vendor
    Redhat
    Product
    Enterprise Linux
    Vendor
    Redhat
    Product
    Jboss Enterprise Application Platform
    Vendor
    Redhat
    Product
    Jboss Enterprise Web Server
    Vendor
    Redhat
    Product
    Jboss Fuse
    Vendor
    Redhat
    Product
    Openshift Application Runtimes
    Vendor
    Redhat
    Product
    Rhel Eus

    Exploits

    https://lists.apache.org/thread.html/rad36ec6a1ffc9e43266b030c22ceeea569243555d34fb4187ff08522%40%3Cnotifications.ofbiz.apache.org%3Ehttps://lists.apache.org/thread.html/rad36ec6a1ffc9e43266b030c22ceeea569243555d34fb4187ff08522%40%3Cnotifications.ofbiz.apache.org%3Ehttps://www.exploit-db.com/exploits/48143https://github.com/00theway/Ghostcat-CNVD-2020-10487https://github.com/abrewer251/CVE-2020-1938_Ghostcat-PoChttps://github.com/acodervic/CVE-2020-1938-MSF-MODULEhttps://github.com/aidilzlkfli/Scanninghttps://github.com/bkfish/CNVD-2020-10487-Tomcat-Ajp-lfi-Scannerhttps://github.com/cyberguardsec101-sketch/ghostcathttps://github.com/dacade/CVE-2020-1938https://github.com/delsadan/CNVD-2020-10487-Bulk-verificationhttps://github.com/doggycheng/CNVD-2020-10487https://github.com/duckpigdog/Tomcat-AJP-CVE-2020-1938https://github.com/einzbernnn/CVE-2020-1938Scanhttps://github.com/fairyming/CVE-2020-1938https://github.com/fatal0/tomcat-cve-2020-1938-checkhttps://github.com/h7hac9/CVE-2020-1938https://github.com/Hancheng-Lei/Hacking-Vulnerability-CVE-2020-1938-Ghostcathttps://github.com/hopsypopsy8/CVE-2020-1938-Exploitationhttps://github.com/I-Runtime-Error/CVE-2020-1938https://github.com/Joshua8821/CNVDhttps://github.com/jptr218/ghostcathttps://github.com/Just1ceP4rtn3r/CVE-2020-1938-Toolhttps://github.com/laolisafe/CVE-2020-1938https://github.com/lem0n817/tomcatfilereadhttps://github.com/lizhianyuguangming/TomcatScanProhttps://github.com/MateoSec/ghostcatchhttps://github.com/Neko-chanQwQ/CVE-2020-1938https://github.com/RedTeam-Rediron/CVE-2020-1938https://github.com/sangrok-jeon/CVE-2020-1938-Tomcat-AJP-Ghostcat--Analysishttps://github.com/sgdream/CVE-2020-1938https://github.com/shaunmclernon/ghostcat-verificationhttps://github.com/si1ence90/Ghostcat-Tomcat-AJP-Exploit-Py3https://github.com/streghstreek/CVE-2020-1938https://github.com/sv3nbeast/CVE-2020-1938-Tomact-file_include-file_readhttps://github.com/tpt11fb/AttackTomcathttps://github.com/Umesh2807/Ghostcathttps://github.com/w4fz5uck5/CVE-2020-1938-Clean-Versionhttps://github.com/Warelock/cve-2020-1938https://github.com/whatboxapp/GhostCat-LFI-exphttps://github.com/WHtig3r/CVE-2020-1938https://github.com/With-fate/CVE-2020-1938https://github.com/woaiqiukui/CVE-2020-1938TomcatAjpScannerhttps://github.com/xindongzhuaizhuai/CVE-2020-1938https://github.com/YounesTasra-R4z3rSw0rd/CVE-2020-1938https://www.exploit-db.com/exploits/49039

    Common Weakness Enumeration

    Related CVEs

    References

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High