CVE-2023-22481

Medium

Description

FreshRSS is a self-hosted RSS feed aggregator. When using the greader API, the provided password is logged in clear in `users/_/log_api.txt` in the case where the authentication fails. The issues occurs in `authorizationToUser()` in `greader.php`. If there is an issue with the request or the credentials, `unauthorized()` or `badRequest()` is called. Both these functions are printing the return of `debugInfo()` in the logs. `debugInfo()` will return the content of the request. By default, this will be saved in `users/_/log_api.txt` and if the const `COPY_LOG_TO_SYSLOG` is true, in syslogs as well. Exploiting this issue requires having access to logs produced by FreshRSS. Using the information from the logs, a malicious individual could get users' API keys (would be displayed if the users fills in a bad username) or passwords.

SeverityMedium
CVSS4.0
Exploit probability—
ProductFreshrss
PublishedMar 6, 2023
First seenMar 6, 2023
Weakness typeCWE-532CWE-532

How to fix

Update
  • freshrss freshrss1.21.0 or later

Affected products

ProductAffected versionsFixed in
freshrss freshrss1.9.0 ≤ v < 1.21.01.21.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2023-22481 · Freshrss · Dark Radar