ezBookkeeping: Source-IP allowlist (MCP & API token) is bypassable via a spoofed `X-Forwarded-For` header
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| mayswindezbookkeeping | — | 記載なし |
| Gogithub.com/mayswind/ezbookkeeping |
0.10.0 以上 1.6.0 未満→ 1.6.0 |
1.6.0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
ezBookkeeping is an open source, self-hosted personal finance application. From 0.10.0 until 1.6.0, ezBookkeeping constructs its Gin router with gin.New() without configuring SetTrustedProxies, causing c.ClientIP() to trust a spoofed X-Forwarded-For value. An unauthenticated remote attacker can supply an allowlisted address to bypass the mcp_allowed_remote_ips or api_token_allowed_remote_ips gate. A valid MCP or API token remains required for protected actions. When such actions occur, the same spoofed value is stored in Transaction.CreatedIp and the request log, attributing activity to the trusted host instead of the attacker. This issue is fixed in version 1.6.0.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com