Description
FreshRSS is a free, self-hostable RSS aggregator. From 57e1a37 - 00f2f04, the lengths of the nonce was changed from 40 chars to 64. password_verify() is currently being called with a constructed string (SHA-256 nonce + part of a bcrypt hash) instead of the raw user password. Due to bcrypt’s 72-byte input truncation, this causes password verification to succeed even when the user enters an incorrect password. This vulnerability is fixed in 1.27.2-dev (476e57b). The issue was only present in the edge branch and never in a stable release.
Problem types
CWE-287: Improper Authentication
Product status
References
github.com/...eshRSS/security/advisories/GHSA-pcq9-mq6m-mvmp
github.com/FreshRSS/FreshRSS/pull/8061
github.com/FreshRSS/FreshRSS/pull/8320
github.com/...ommit/476e57b04646416e24e24c56133c9fadf9e52b95