nday
CVE-2020-5397

CSRF Attack via CORS Preflight Requests with Spring MVC or Spring WebFlux

Spring / Spring Framework

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it. Not in CISA KEV.

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.

CSRF
CWE-352, stated by the CNA pivotal, NVD's analysts, and NVD, republishing [email protected]
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.0) from the CNA pivotal
network
AV:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.0) from the CNA pivotal
no authentication required
PR:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.0) from the CNA pivotal
no user interaction
UI:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.0) from the CNA pivotal
MySQL
CPE names NVD's analysts give as vulnerable: a:oracle:mysql_enterprise_monitor
WebLogic Server
CPE names NVD's analysts give as vulnerable: a:oracle:weblogic_server
Spring Framework
affected products in the CVE record: Spring · Spring FrameworkCPE names NVD's analysts give as vulnerable: a:vmware:spring_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
CPE names NVD's analysts give as vulnerable: a:oracle:weblogic_serverthe product type of WebLogic Server in nday's product registry
open-source library / framework
affected products in the CVE record: Spring · Spring FrameworkCPE names NVD's analysts give as vulnerable: a:vmware:spring_frameworkthe product type of Spring Framework in nday's product registry
stage
DIS
disclosed
cvss
5.3 MEDIUM v3.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2020-01-17T18:50Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

Spring Framework, versions 5.2.x prior to 5.2.3 are vulnerable to CSRF attacks through CORS preflight requests that target Spring MVC (spring-webmvc module) or Spring WebFlux (spring-webflux module) endpoints. Only non-authenticated endpoints are vulnerable because preflight requests should not include credentials and therefore requests should fail authentication. However a notable exception to this are Chrome based browsers when using client certificates for authentication since Chrome sends TLS client certificates in CORS preflight requests in violation of spec requirements. No HTTP body can be sent or received as a result of this attack.

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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CVSS 3.0 vector from the CVE record, scored by the CNA pivotal.

Event log

+DISdisclosed

CVE record published by pivotal. CVSS 5.3, medium.

src cvelist · nday , bulk import · raw
{
  "id": 215403,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2020-5397",
  "occurred_at": "2020-01-17T18:50:12.742Z",
  "observed_at": "2026-11-13T05:37:06.265724Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
      "version": "3.0",
      "base_score": 5.3,
      "base_severity": "MEDIUM"
    },
    "state": "PUBLISHED",
    "date_published": "2020-01-17T18:50:12.742Z",
    "assigner_short_name": "pivotal"
  }
}

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.