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.
{
"extracted_events": [
{
"introduced": "4.0.0-milestone1"
},
{
"last_affected": "4.0.0-milestone1"
},
{
"introduced": "4.0.0-milestone2"
},
{
"last_affected": "4.0.0-milestone2"
},
{
"introduced": "4.0.0-milestone3"
},
{
"last_affected": "4.0.0-milestone3"
},
{
"introduced": "4.0.0-milestone4"
},
{
"last_affected": "4.0.0-milestone4"
}
],
"source": "CPE_STRING",
"cpe": [
"cpe:2.3:a:eclipse:vert.x-web:4.0.0:milestone1:*:*:*:*:*:*",
"cpe:2.3:a:eclipse:vert.x-web:4.0.0:milestone2:*:*:*:*:*:*",
"cpe:2.3:a:eclipse:vert.x-web:4.0.0:milestone3:*:*:*:*:*:*",
"cpe:2.3:a:eclipse:vert.x-web:4.0.0:milestone4:*:*:*:*:*:*"
]
}