Cross-site Request Forgery (CSRF)

Affecting io.vertx:vertx-web artifact, versions [,3.5.3)

high severity

Overview

io.vertx:vertx-web is a HTTP web applications for Vert.x.

Affected versions of this package are vulenrable to Cross-site Request Forgery (CSRF) attacks. The CSRFHandler does 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.

Remediation

Upgrade io.vertx:vertx-web to version 3.5.3 or higher.

References

Do your applications use this vulnerable package?

Credit
Unknown
CVE
CVE-2018-12540
CWE
CWE-352
Snyk ID
SNYK-JAVA-IOVERTX-72441
Disclosed
15 Jun, 2018
Published
21 Oct, 2018