Bug 1600666 (CVE-2018-12540)

Summary: CVE-2018-12540 vertx-web: Incomplete CSRF validation by CSRFHandler
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: avibelli, bgeorges, chazlett, jbalunas, jpallich, jshepherd, krathod, lthon, mszynkie, pgallagh, rruss
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vertex-web 3.5.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-02 16:31:52 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: 1600667    

Description Pedro Sampaio 2018-07-12 17:51:26 UTC
In version from 3.0.0 to 3.5.2 of Eclipse Vert.x, the CSRFHandler do not assert that the XSRF Cookie matches the returned XSRF header/form parameter. This allows replay attacks with previously issued tokens which are not expired yet.

Upstream bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=536948
https://github.com/vert-x3/vertx-web/issues/970

Upstream patch:

https://github.com/vert-x3/vertx-web/commit/98891b1d9e022b467a3e4674aca4d1889849b1d5

Comment 2 errata-xmlrpc 2018-08-09 14:39:40 UTC
This issue has been addressed in the following products:

  Red Hat Openshift Application Runtimes (text-only advisories)

Via RHSA-2018:2371 https://access.redhat.com/errata/RHSA-2018:2371

Comment 3 Product Security DevOps Team 2020-04-02 16:31:52 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-2018-12540