CVE-2024-37893: Grumpydictator/firefly iii Firefly III Has A MFA Vulnerability
MODERATECVE-2024-37893 is a MODERATE (CVSS 5.9) firefly iii has a mfa vulnerability (CWE-287: Improper Authentication) affecting Grumpydictator/firefly iii libraries in the Packagist ecosystem. The issue involves firefly iii has a mfa bypass in oauth flow. Remediation is available by upgrading affected packages to version 6.1.17.
CVE-2024-37893 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2024-37893
To remediate this vulnerability, upgrade all affected Grumpydictator/firefly iii dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade grumpydictator/firefly-iii to 6.1.17
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for grumpydictator/firefly-iii
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-37893, inspect your project dependencies for Grumpydictator/firefly iii:
inspect dependencies for grumpydictator/firefly-iii
Analyze the terminal output to locate any version of Grumpydictator/firefly iii in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.1.17), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Grumpydictator/firefly iii, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-37893 Affected Grumpydictator/firefly iii Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
grumpydictator/firefly-iii
|
Packagist |
< 6.1.17
|
6.1.17
|
References
Frequently Asked Questions
What is CVE-2024-37893?
Which Grumpydictator/firefly iii versions are affected?
What version fixes CVE-2024-37893?
Is grumpydictator/firefly-iii affected?
What is the CVSS score of CVE-2024-37893?
What CWE is associated with CVE-2024-37893?
How can I check Packagist dependencies for CVE-2024-37893?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4gm4-c4mh-4p7w",
"modified" : "2024-06-17T22:28:28Z",
"published" : "2024-06-17T22:28:28Z",
"aliases" : [ "CVE-2024-37893" ],
"summary" : "Firefly III has a MFA bypass in oauth flow",
"details" : "### Impact\n\nA 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.\n\n### Patches\n\nProblem has been patched in Firefly III v6.1.17 and up.\n\n### Workarounds\n\n- Use a unique password for your Firefly III instance,\n- Store your password securely, i.e. in a password manager or in your head.\n\n### References\n\n- https://owasp.org/www-community/attacks/Password_Spraying_Attack\n- https://www.menlosecurity.com/what-is/highly-evasive-adaptive-threats-heat/mfa-bypass\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "grumpydictator/firefly-iii"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.1.17"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/firefly-iii/firefly-iii/security/advisories/GHSA-4gm4-c4mh-4p7w"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-37893"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/firefly-iii/firefly-iii"
}, {
"type" : "WEB",
"url" : "https://owasp.org/www-community/attacks/Password_Spraying_Attack"
}, {
"type" : "WEB",
"url" : "https://www.menlosecurity.com/what-is/highly-evasive-adaptive-threats-heat/mfa-bypass"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287", "CWE-288" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-17T22:28:28Z",
"nvd_published_at" : "2024-06-17T20:15:13Z"
}
}