Unauthenticated log injection via the CSP violation report endpoint
概要
Impact
The currently unused /report/csp_violations endpoint, allowed writing of attacker-controlled content into the server logs without neutralizing control characters. The endpoint is unauthenticated and present on every deployment, so any unauthenticated user could POST a crafted report...
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| Zulip server |
<= 12.2 |
12.3 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Impact
The currently unused /report/csp_violations endpoint, allowed writing of attacker-controlled content into the server logs without neutralizing control characters. The endpoint is unauthenticated and present on every deployment, so any unauthenticated user could POST a crafted report to inject arbitrary content - including newlines - into /var/log/zulip/server.log and /var/log/zulip/errors.log. This could be used to forge or obscure log entries, undermining the reliability of logs used for monitoring and incident response.
Patches
Fixed in Zulip server 12.3.
出典: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
参照URL
- GITHUB_REPO_ADVISORY zulip/zulip