GHSA-56fm-hfp3-x3w3: Wallabag/wallabag Wallabag User Can Disable 2FA Vulnerability
MODERATEGHSA-56fm-hfp3-x3w3 is a MODERATE (CVSS 4.3) wallabag user can disable 2fa vulnerability (General Security Weakness) affecting Wallabag/wallabag libraries in the Packagist ecosystem. The issue involves wallabag user can disable 2fa unintentionally. Remediation is available by upgrading affected packages to version 2.6.7.
GHSA-56fm-hfp3-x3w3 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N).
How to Fix GHSA-56fm-hfp3-x3w3
To remediate this vulnerability, upgrade all affected Wallabag/wallabag 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 wallabag/wallabag to 2.6.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for wallabag/wallabag
How to Check if You Are Affected
To determine whether your application is affected by GHSA-56fm-hfp3-x3w3, inspect your project dependencies for Wallabag/wallabag:
inspect dependencies for wallabag/wallabag
Analyze the terminal output to locate any version of Wallabag/wallabag in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.7), 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 General Security Weakness. In Wallabag/wallabag, 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
GHSA-56fm-hfp3-x3w3 Affected Wallabag/wallabag Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wallabag/wallabag
|
Packagist |
≥ 2.0.0-alpha.1
< 2.6.7
|
2.6.7
|
References
Frequently Asked Questions
What is GHSA-56fm-hfp3-x3w3?
Which Wallabag/wallabag versions are affected?
What version fixes GHSA-56fm-hfp3-x3w3?
Is wallabag/wallabag affected?
What is the CVSS score of GHSA-56fm-hfp3-x3w3?
What CWE is associated with GHSA-56fm-hfp3-x3w3?
How can I check Packagist dependencies for GHSA-56fm-hfp3-x3w3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-56fm-hfp3-x3w3",
"modified" : "2023-10-02T21:39:57Z",
"published" : "2023-10-02T21:39:57Z",
"aliases" : [ ],
"summary" : "Wallabag user can disable 2FA unintentionally",
"details" : "## Impact\nwallabag was discovered to contain a Cross-Site Request Forgery (CSRF) which allows attackers to arbitrarily disable 2FA through `/config/otp/app/disable` and `/config/otp/email/disable`.\n\nThis vulnerability has a CVSSv3.1 score of 4.3.\n\n**You should upgrade your instance to version 2.6.7 or higher.**\n\n## Resolution\n\nThese endpoints now require POST method.\n\n## Credits\n\nWe would like to thank @dhina016 for reporting this issue through huntr.dev.\n\nReference: https://huntr.dev/bounties/4c446fe7-2a44-4907-b0cf-4ab77d75c487/\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "wallabag/wallabag"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0-alpha.1"
}, {
"fixed" : "2.6.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/wallabag/wallabag/security/advisories/GHSA-56fm-hfp3-x3w3"
}, {
"type" : "WEB",
"url" : "https://github.com/wallabag/wallabag/commit/0cfdddc2eb0aee5ffb69bf499d377d75655ba157"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wallabag/wallabag"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/4c446fe7-2a44-4907-b0cf-4ab77d75c487"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-02T21:39:57Z",
"nvd_published_at" : null
}
}