{"id":"CVE-2023-22481","summary":"Sensitive information exposure in the logs of greader API in FreshRSS","details":"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.","aliases":["GHSA-8vvv-jxg6-8578"],"modified":"2026-08-12T03:51:42.878556265Z","published":"2023-03-06T17:33:03.697Z","database_specific":{"cwe_ids":["CWE-532"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22481.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22481.json"},{"type":"ADVISORY","url":"https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-8vvv-jxg6-8578"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22481"},{"type":"FIX","url":"https://github.com/FreshRSS/FreshRSS/commit/075cf4c800063e3cc65c3d41a9c23222e8ebb554"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/freshrss/freshrss","events":[{"introduced":"ea49b645f0369fc926eac5b61b1063058887a3d4"},{"fixed":"0fe0ce894cbad09757d719dd4b400b9862c1a12a"},{"fixed":"075cf4c800063e3cc65c3d41a9c23222e8ebb554"}],"database_specific":{"cpe":"cpe:2.3:a:freshrss:freshrss:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.9.0"},{"fixed":"1.21.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["1.20.1","1.20.0","1.19.2","1.19.1","1.19.0","1.18.1","1.18.0","1.17.0","1.16.2","1.16.1","1.16.0","1.15.2","1.15.1","1.15.0","1.14.3","1.14.2","1.14.1","1.14.0","1.13.1","1.13.0","1.12.0","1.11.2","1.11.1","1.11.0","1.10.2","1.10.1","1.10.0","1.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-22481.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N"}]}