nday
CVE-2020-1938

Apache Tomcat Improper Privilege Management Vulnerability

Apache / Tomcat, Apache Tomcat

Added to KEV 738 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 3 of 4 PoC sources: exploitdb, metasploit, and nuclei.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
Metasploit
Metasploit modules auxiliary/admin/http/tomcat_ghostcat
Exploit-DB
Exploit-DB entries 48143, 49039
nuclei
nuclei templates CVE-2020-1938
MySQL
CPE names NVD's analysts give as vulnerable: a:oracle:mysql_enterprise_monitor
Apache Tomcat
affected products in the CVE record: Apache · Apache Tomcat, Apache · TomcatCPE names NVD's analysts give as vulnerable: a:apache:tomcat
Siebel CRM
CPE names NVD's analysts give as vulnerable: a:oracle:siebel_ui_framework
database
CPE names NVD's analysts give as vulnerable: a:oracle:mysql_enterprise_monitorthe product type of MySQL in nday's product registry
web / application server
affected products in the CVE record: Apache · Apache Tomcat, Apache · TomcatCPE names NVD's analysts give as vulnerable: a:apache:tomcatthe product type of Apache Tomcat in nday's product registry
enterprise application (ERP/CRM)
CPE names NVD's analysts give as vulnerable: a:oracle:siebel_ui_frameworkthe product type of Siebel CRM in nday's product registry
stage
KEV
disclosed
disclosure → KEV
T+738d KEV is date-only
cvss
9.8 CRITICAL v3.1
KEV due date
2022-03-17

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2020-02-24T21:19Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2020-02-20, date only +1 more
metasploit, nuclei
ITWexploited
≤ 2022-03-03, inferred from KEV
KEVKEV
2022-03-03, date only

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

Event log

2020-02-20date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Apache Tomcat - AJP 'Ghostcat File Read/Inclusion” (EDB-48143).

src exploitdb 48143 · nday , bulk import · raw
{
  "id": 27614,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/48143",
  "occurred_at": "2020-02-20T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "48143",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/48143",
    "file": "exploits/multiple/webapps/48143.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "Apache Tomcat - AJP 'Ghostcat File Read/Inclusion",
    "author": "YDHCUI",
    "edb_id": 48143,
    "cve_ids": [
      "CVE-2020-1938"
    ],
    "platform": "multiple",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2020-02-27",
    "date_updated": "2020-03-02",
    "date_published": "2020-02-20"
  }
}
+DISdisclosed

CVE record published by apache. CVSS 9.8, critical. CISA's SSVC assessment rates exploitation as active.

src cvelist · nday , bulk import · raw
{
  "id": 18633,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2020-1938",
  "occurred_at": "2020-02-24T21:19:18Z",
  "observed_at": "2026-11-12T15:02:49.796473Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "kev": {
      "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-1938",
      "date_added": "2022-03-03"
    },
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 9.8,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2025-02-06T21:05:38.047118Z",
      "automatable": "yes",
      "exploitation": "active",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2020-02-24T21:19:18.000Z",
    "assigner_short_name": "apache"
  }
}
2020-11-13date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Apache Tomcat - AJP 'Ghostcat' File Read/Inclusion (Metasploit)” (EDB-49039). Verified by Exploit-DB.

src exploitdb 49039 · nday , bulk import · raw
{
  "id": 27615,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/49039",
  "occurred_at": "2020-11-13T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "49039",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/49039",
    "file": "exploits/multiple/webapps/49039.rb",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "Apache Tomcat - AJP 'Ghostcat' File Read/Inclusion (Metasploit)",
    "author": "SunCSR",
    "edb_id": 49039,
    "cve_ids": [
      "CVE-2020-1938"
    ],
    "platform": "multiple",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2020-11-13",
    "date_updated": "2020-11-13",
    "date_published": "2020-11-13"
  }
}
2022-03-03date only, from source
+KEVadded to KEV

CISA added it to the Known Exploited Vulnerabilities catalog, with a remediation deadline of 2022-03-17. Ransomware use: unknown.

src kev · nday , bulk import · raw
{
  "id": 1308,
  "type": "kev_added",
  "source": "kev",
  "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
  "occurred_at": "2022-03-03T00:00:00Z",
  "observed_at": "2026-11-12T13:53:00.018191Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cwes": [],
    "notes": "https://nvd.nist.gov/vuln/detail/CVE-2020-1938",
    "product": "Tomcat",
    "due_date": "2022-03-17",
    "precision": "day",
    "date_added": "2022-03-03",
    "vendor_project": "Apache",
    "forensic_triage": "No",
    "required_action": "Apply updates per vendor instructions.",
    "vulnerability_name": "Apache Tomcat Improper Privilege Management Vulnerability",
    "known_ransomware_campaign_use": "Unknown"
  }
}
≤ 2022-03-03inferred, no direct source
~ITWexploited in the wild

No source says when exploitation began. A KEV listing means it was already happening, so only an upper bound is known. CISA's SSVC assessment rates exploitation as active.

based on kev and CISA's assessment in cvelist

time unknownsource gave no time
+POCpublic PoC

Metasploit has module auxiliary/admin/http/tomcat_ghostcat (Apache Tomcat AJP File Read). The source gives no release time for the module.

src metasploit auxiliary/admin/http/tomcat_ghostcat · nday , bulk import · raw
{
  "id": 49624,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/http/tomcat_ghostcat.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "auxiliary/admin/http/tomcat_ghostcat",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/http/tomcat_ghostcat.rb",
    "kind": "msf_module",
    "path": "/modules/auxiliary/admin/http/tomcat_ghostcat.rb",
    "rank": 300,
    "check": true,
    "title": "Apache Tomcat AJP File Read",
    "cve_ids": [
      "CVE-2020-1938"
    ],
    "fullname": "auxiliary/admin/http/tomcat_ghostcat",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "auxiliary",
    "module_last_modified": "2026-04-15 11:57:01 +0000",
    "vuln_disclosure_date": "2020-02-20"
  }
}
time unknownsource gave no time
+POCpublic PoC

Nuclei has detection template CVE-2020-1938 (Ghostcat - Apache Tomcat - AJP File Read/Inclusion Vulnerability). The source gives no release time for the template.

src nuclei · nday , bulk import · raw
{
  "id": 57600,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2020/CVE-2020-1938.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2020-1938",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2020/CVE-2020-1938.yaml",
    "kind": "detection_template",
    "title": "Ghostcat - Apache Tomcat - AJP File Read/Inclusion Vulnerability",
    "severity": "critical",
    "confidence": "curated",
    "cvss_score": "9.8",
    "template_id": "CVE-2020-1938",
    "template_path": "network/cves/2020/CVE-2020-1938.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.