cve/2018/CVE-2018-12540.md

20 lines
848 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2018-12540](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12540)
![](https://img.shields.io/static/v1?label=Product&message=Eclipse%20Vert.x&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%203.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-352%3A%20Cross-Site%20Request%20Forgery%20(CSRF)&color=brighgreen)
### Description
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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/0xT11/CVE-POC
- https://github.com/bernard-wagner/vertx-web-xsrf
- https://github.com/tafamace/CVE-2018-12540