CVE-2020-35217
HIGHVert.x-Web 4.0.0-milestone1-4.0.0-milestone4 - Cross-Site Request Forgery via Incorrect Token Verification
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2020-35217. PoCs published by dawetmaster, andikahilmy.
AI-analyzed exploit summary This repository contains a vulnerable version of Vert.x Web with FreeMarker template engine, demonstrating CVE-2020-35217. The code includes the vulnerable FreeMarkerTemplateEngine implementation, which allows for template injection attacks.
Description
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.
Exploits (2)
This repository contains a vulnerable version of Vert.x Web with FreeMarker template engine, demonstrating CVE-2020-35217. The code includes the vulnerable FreeMarkerTemplateEngine implementation, which allows for template injection attacks.
This repository contains a vulnerable version of Vert.x Web with FreeMarker template engine, demonstrating CVE-2020-35217. The code includes the vulnerable FreeMarkerTemplateEngine implementation, which allows arbitrary file read due to improper template loading.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H