GHSA-56fm-hfp3-x3w3: Wallabag/wallabag Wallabag User Can Disable 2FA Vulnerability

MODERATE
CVSS 4.3
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-56fm-hfp3-x3w3
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification General Security Weakness
Affected Product Wallabag/wallabag
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (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.

wallabag/wallabag fixed: 2.6.7
Upgrade wallabag/wallabag to 2.6.7
Verify Direct and Transitive Dependencies

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

## Impact wallabag 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`. This vulnerability has a CVSSv3.1 score of 4.3. **You should upgrade your instance to version 2.6.7 or higher.** ## Resolution These endpoints now require POST method. ## Credits We would like to thank @dhina016 for reporting this issue through huntr.dev. Reference: https://huntr.dev/bounties/4c446fe7-2a44-4907-b0cf-4ab77d75c487/

GHSA-56fm-hfp3-x3w3 Affected Wallabag/wallabag Versions

1 component(s)
Fixed Versions:
2.6.7
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?
GHSA-56fm-hfp3-x3w3 is a security vulnerability in Wallabag/wallabag involving Wallabag user can disable 2FA unintentionally under General Security Weakness.
Which Wallabag/wallabag versions are affected?
Affected versions include releases prior to 2.6.7 across affected packages: wallabag/wallabag.
What version fixes GHSA-56fm-hfp3-x3w3?
Upgrading to 2.6.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is wallabag/wallabag affected?
Yes, wallabag/wallabag is affected in releases prior to 2.6.7. Upgrade your dependency to 2.6.7 or later.
What is the CVSS score of GHSA-56fm-hfp3-x3w3?
GHSA-56fm-hfp3-x3w3 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with GHSA-56fm-hfp3-x3w3?
GHSA-56fm-hfp3-x3w3 is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-56fm-hfp3-x3w3?
Run the dependency tree command: 'inspect dependencies for wallabag/wallabag'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}