{"id":"CVE-2023-22481","state":"PUBLISHED","title":"Sensitive information exposure in the logs of greader API in FreshRSS","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.","publishedAt":"2023-03-06T17:33:03.697Z","updatedAt":"2025-02-25T15:01:23.226Z","severity":{"score":4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["FreshRSS FreshRSS"],"affected":[{"vendor":"FreshRSS","product":"FreshRSS","versions":[{"version":">= 1.9.0, < 1.21.0","status":"affected"}]}],"references":["https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-8vvv-jxg6-8578","https://github.com/FreshRSS/FreshRSS/commit/075cf4c800063e3cc65c3d41a9c23222e8ebb554"],"weaknesses":["CWE-532"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/22xxx/CVE-2023-22481.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-22481","state":"PUBLISHED","datePublished":"2023-03-06T17:33:03.697Z","dateUpdated":"2025-02-25T15:01:23.226Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-12-29T17:41:28.088Z"},"containers":{"cna":{"title":"Sensitive information exposure in the logs of greader API in FreshRSS","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"FreshRSS","product":"FreshRSS","versions":[{"version":">= 1.9.0, < 1.21.0","status":"affected"}]}],"references":[{"url":"https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-8vvv-jxg6-8578","name":"https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-8vvv-jxg6-8578","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FreshRSS/FreshRSS/commit/075cf4c800063e3cc65c3d41a9c23222e8ebb554","name":"https://github.com/FreshRSS/FreshRSS/commit/075cf4c800063e3cc65c3d41a9c23222e8ebb554","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"ADJACENT_NETWORK","availabilityImpact":"NONE","baseScore":4,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-532","lang":"en","description":"CWE-532: Insertion of Sensitive Information into Log File","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-03-06T17:33:03.697Z"},"source":{"advisory":"GHSA-8vvv-jxg6-8578","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-8vvv-jxg6-8578","name":"https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-8vvv-jxg6-8578","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/FreshRSS/FreshRSS/commit/075cf4c800063e3cc65c3d41a9c23222e8ebb554","name":"https://github.com/FreshRSS/FreshRSS/commit/075cf4c800063e3cc65c3d41a9c23222e8ebb554","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T10:13:48.395Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-25T14:30:26.520067Z","id":"CVE-2023-22481","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-25T15:01:23.226Z"}}]}}}