{"id":"CVE-2023-22481","published":"2023-03-06T17:33:03Z","modified":"2025-02-25T15:01:23Z","title":"Sensitive information exposure in the logs of greader API in FreshRSS","vendor":"FreshRSS","product":"FreshRSS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00394,"percentile":0.25264,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-8vvv-jxg6-8578","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FreshRSS/FreshRSS/commit/075cf4c800063e3cc65c3d41a9c23222e8ebb554","tags":["x_refsource_MISC"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":5.05},{"name":"CVSS severity","points":2.8}]},"vendorSlug":"freshrss","affectedVersions":[{"vendor":"FreshRSS","product":"FreshRSS","versions":[">= 1.9.0, < 1.21.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-25T14:30:26.520067Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-26629","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-freshrss-cve-2023-22481","children":[{"from":"CVE-2023-22481","to":"CVE-2025-59948","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["p/api/fever.php","p/api/greader.php"],"commits":["https://github.com/FreshRSS/FreshRSS/commit/075cf4c800063e3cc65c3d41a9c23222e8ebb554","https://github.com/FreshRSS/FreshRSS/commit/7df6c201f2e6a6521d20718dfd8d9794c7437d1f"],"basis":"rarely changed file"}]}]}}