{"id":"CVE-2019-3778","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-3778","generatedAt":"2026-11-05T03:13:43.862Z","title":"Spring Security OAuth, versions 2.3 prior to 2.3.5, and 2.2 prior to 2.2.4, and 2.1 prior to 2.1.4, and 2.0 prior to 2.0.17, and older unsupported versions could be susceptible to an open redirector attack that can leak an authorization code.","description":"Spring Security OAuth, versions 2.3 prior to 2.3.5, and 2.2 prior to 2.2.4, and 2.1 prior to 2.1.4, and 2.0 prior to 2.0.17, and older unsupported versions could be susceptible to an open redirector attack that can leak an authorization code. A malicious user or attacker can craft a request to the authorization endpoint using the authorization code grant type, and specify a manipulated redirection URI via the \"redirect_uri\" parameter. This can cause the authorization server to redirect the resource owner user-agent to a URI under the control of the attacker with the leaked authorization code. This vulnerability exposes applications that meet all of the following requirements: Act in the role of an Authorization Server (e.g. @EnableAuthorizationServer) and uses the DefaultRedirectResolver in the AuthorizationEndpoint. This vulnerability does not expose applications that: Act in the role of an Authorization Server and uses a different RedirectResolver implementation other than DefaultRedirectResolver, act in the role of a Resource Server only (e.g. @EnableResourceServer), act in the role of a Client only (e.g. @EnableOAuthClient).","published":"2019-03-07T18:29:01.000Z","lastModified":"2026-06-17T02:35:35.000Z","status":"Modified","sourceIdentifier":"security_alert@emc.com","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},"cwe":["CWE-601"],"affected":["pivotal software/spring security oauth","oracle/banking corporate lending"],"epss":{"score":0.16596,"percentile":0.97017,"date":"2026-11-03","history":[{"date":"2026-10-04","score":0.16596,"percentile":0.96929}]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2019-06-17","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":47000,"kind":"exploit","title":"Spring Security OAuth - Open Redirector","url":"https://www.exploit-db.com/exploits/47000","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/java/webapps/47000.txt","file":"exploits/java/webapps/47000.txt","published":"2019-06-17","added":"2019-06-17","updated":"2019-06-17","author":"Riemann","type":"webapps","platform":"java","port":null,"verified":false,"codes":["CVE-2019-3778","CVE-2019-11269"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 16.6%, higher than 97% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/153299/Spring-Security-OAuth-2.3-Open-Redirection.html","tags":["Third Party Advisory","VDB Entry"],"source":"security_alert@emc.com"},{"url":"http://www.securityfocus.com/bid/107153","tags":["Third Party Advisory","VDB Entry"],"source":"security_alert@emc.com"},{"url":"https://pivotal.io/security/cve-2019-3778","tags":["Vendor Advisory"],"source":"security_alert@emc.com"},{"url":"https://www.oracle.com/security-alerts/cpujan2021.html","tags":["Third Party Advisory"],"source":"security_alert@emc.com"},{"url":"http://packetstormsecurity.com/files/153299/Spring-Security-OAuth-2.3-Open-Redirection.html","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/107153","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://pivotal.io/security/cve-2019-3778","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.oracle.com/security-alerts/cpujan2021.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-3778","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}