nday
CVE-2020-1938

Apache Tomcat Improper Privilege Management Vulnerability

Apache / Tomcat, Apache Tomcat

Inscription au KEV 738 jours après la divulgation. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans 3 des 4 sources de PoC : exploitdb, metasploit et 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
étape actuelle
KEV
divulgation
délai avant KEV
T+738d KEV : date seule
CVSS
9.8 CRITICAL v3.1
date limite KEV
2022-03-17

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2020-02-24T21:19Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2020-02-20, date seule +1 autre
metasploit, nuclei
ITWexploitée
≤ 2022-03-03, déduite du KEV
KEVKEV
2022-03-03, date seule

Résumé

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.

Journal des événements

2020-02-20date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Apache Tomcat - AJP 'Ghostcat File Read/Inclusion » (EDB-48143).

source exploitdb 48143 · importé en masse par nday le · brut
{
  "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"
  }
}
+DISdivulgation

Fiche CVE publiée par apache. CVSS 9.8, gravité critique. Évaluation SSVC de la CISA : exploitation au niveau « active ».

source cvelist · importé en masse par nday le · brut
{
  "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 seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Apache Tomcat - AJP 'Ghostcat' File Read/Inclusion (Metasploit) » (EDB-49039). Code vérifié par Exploit-DB.

source exploitdb 49039 · importé en masse par nday le · brut
{
  "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 seule, selon la source
+KEVinscription au KEV

La CISA a inscrit cette vulnérabilité à son catalogue des vulnérabilités exploitées connues (KEV), avec une date limite de remédiation fixée au 2022-03-17. Utilisation par des rançongiciels : inconnue.

source kev · importé en masse par nday le · brut
{
  "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-03déduite, sans source directe
~ITWexploitation active

Aucune source n’indique le début de l’exploitation. L’inscription au KEV prouve qu’elle avait déjà cours : on sait seulement qu’elle a commencé au plus tard à cette date. Évaluation SSVC de la CISA : exploitation au niveau « active ».

source de la déduction : kev et évaluation de la CISA dans cvelist

date inconnuela source ne donne aucune date
+POCPoC publique

Metasploit propose le module auxiliary/admin/http/tomcat_ghostcat (« Apache Tomcat AJP File Read »). La source n’indique pas la date de publication du module.

source metasploit auxiliary/admin/http/tomcat_ghostcat · importé en masse par nday le · brut
{
  "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"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Nuclei propose le modèle de détection CVE-2020-1938 (« Ghostcat - Apache Tomcat - AJP File Read/Inclusion Vulnerability »). La source n’indique pas la date de publication du modèle.

source nuclei · importé en masse par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.