VDB
Sign up
MEDIUM4.3

GHSA-56fm-hfp3-x3w3

Wallabag user can disable 2FA unintentionally

Quick fix

GHSA-56fm-hfp3-x3w3 — wallabag/wallabag: upgrade to the fixed version with the command below.

composer require wallabag/wallabag:^2.6.7

Details

## 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/

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/wallabag/wallabag
Introduced in: 2.0.0-alpha.1Fixed in: 2.6.7
Fixcomposer require wallabag/wallabag:^2.6.7

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/wallabag/wallabag"]}'