CVE-2024-37893: Firefly III has a MFA bypass in oauth flow
Impact A MFA bypass in the Firefly III OAuth flow may allow malicious users to bypass the MFA-check. This allows malicious users to use password spraying to gain access to your Firefly III data using passwords stolen from other sources. As OAuth applications are easily enumerable using an incrementing id, an attacker could try sign an OAuth application up to a users profile quite easily if they have created one.
Published Jun 17, 2024
Affected packages
grumpydictator/firefly-iii
- Ecosystem
- Composer (PHP)
- Affected
- < 6.1.17
- Fixed in
- 6.1.17
- Check
composer show grumpydictator/firefly-iii
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A MFA bypass in the Firefly III OAuth flow may allow malicious users to bypass the MFA-check. This allows malicious users to use password spraying to gain access to your Firefly III data using passwords stolen from other sources. As OAuth applications are easily enumerable using an incrementing id, an attacker could try sign an OAuth application up to a users profile quite easily if they have created one. The attacker would also need to know the victims username and password.
Patches
Problem has been patched in Firefly III v6.1.17 and up.
Workarounds
- Use a unique password for your Firefly III instance,
- Store your password securely, i.e. in a password manager or in your head.
References
- https://owasp.org/www-community/attacks/Password_Spraying_Attack
- https://www.menlosecurity.com/what-is/highly-evasive-adaptive-threats-heat/mfa-bypass
Credited to Skelmis.
References
- https://github.com/firefly-iii/firefly-iii/security/advisories/GHSA-4gm4-c4mh-4p7w
- https://nvd.nist.gov/vuln/detail/CVE-2024-37893
- https://owasp.org/www-community/attacks/Password_Spraying_Attack
- https://www.menlosecurity.com/what-is/highly-evasive-adaptive-threats-heat/mfa-bypass
- https://github.com/advisories/GHSA-4gm4-c4mh-4p7w
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-50886
Project Firefly III has incorrect access control in the webhook management component
critical9.1No fixJun 15, 2026GHSA-6jq6-x4cx-qvcm
Firefly II has Stored XSS in Audit Log Entry view via piggy bank name (ale.twig)
medium5.1Jun 12, 2026GHSA-5q8v-j673-m5v4
Firefly III user API endpoints expose all users' information to any authenticated user (IDOR)
medium5.7Mar 7, 2026GHSA-29w6-c52g-m8jc
C5 Firefly III CSV Injection.
medium4.0Jan 31, 2024CVE-2024-22075
Firefly III allows webhooks HTML Injection.
medium6.5Jan 5, 2024
