Bug 1925220 (CVE-2020-35217)

Summary: CVE-2020-35217 vertx-web: performs an incorrect CSRF verification
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aileenc, avibelli, bgeorges, bibryam, chazlett, clement.escoffier, cmoulliard, dandread, dkreling, drieden, eric.wittmann, ganandan, ggaughan, gsmet, hamadhan, hbraun, ikanello, janstey, jochrist, jpallich, jwon, kaycoth, krathod, lthon, mszynkie, pantinor, pgallagh, pjindal, probinso, rruss, rsvoboda, sbiarozk, sdouglas, swoodman
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vertex-web 4.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-19 07:01:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1925221    

Description Michael Kaplan 2021-02-04 16:08:34 UTC
Vert.x-Web framework v4.0 milestone 1-4 does not perform a correct CSRF verification. Instead of comparing the CSRF token in the request with the CSRF token in the cookie, it compares the CSRF token in the cookie against a CSRF token that is stored in the session. An attacker does not even need to provide a CSRF token in the request because the framework does not consider it. The cookies are automatically sent by the browser and the verification will always succeed, leading to a successful CSRF attack.

Comment 1 Michael Kaplan 2021-02-04 16:08:40 UTC
External References:

https://github.com/vert-x3/vertx-web/pull/1613

Comment 5 Product Security DevOps Team 2021-02-19 07:01:53 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-35217