Information disclosure in Freshrss

CVE-2023-22481

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.

EPSS: 0.005 (38.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.0 (Medium). Vector: CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N.

Affected products

  • Freshrss — versions >= 1.9.0, < 1.21.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-22481?
CVE-2023-22481 is a medium-severity vulnerability in Freshrss, classified under Insertion of Sensitive Information into Log File. CVSS score: 4.0/10. Published 2023-03-06.
How severe is CVE-2023-22481?
Medium severity. CVSS v3 base score is 4.0 out of 10.