CVE-2021-4015: firefly-iii is vulnerable to Cross-Site Request Forgery (CSRF)
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.3142%
CWE
Published
12/6/2021
Updated
2/1/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
grumpydictator/firefly-iii | composer | < 5.6.5 | 5.6.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from using GET requests for state-changing operations. The patch fixes CSRF by changing HTTP
methods to POST
for these endpoints. Each modified route corresponds to a controller method that was previously accessible via GET/ANY methods without proper CSRF protection. The routes file modifications directly map to vulnerable controller actions that perform sensitive operations like financial rescanning, 2FA management, and data linking.