Technical impact
ezBookkeeping, an open‑source financial application, improperly extracts client IP addresses by using gin.New() without setting trusted proxies. Consequently, the c.ClientIP() function accepts a spoofed X‑Forwarded‑For header. An attacker can provide a value that matches the allow‑listed IP fields for machine‑controlled processes (MCP) or API tokens. Although a valid token is still required, the spoofed IP is recorded in transaction metadata and logs, thereby masking the attacker’s true location and bypassing IP‑based traffic filtering. This flaw does not enable code execution but does allow an attacker to appear as a legitimate client, potentially enabling further exploitation if downstream systems rely on the recorded IP for authorization or auditing.
Affected Systems
The vulnerability affects versions 0.10.0 through 1.6.0 of mayswind’s ezBookkeeping application. Any deployment of these releases that has not applied the 1.6.0 update is susceptible.
Risk and Exploitability
The CVSS score of 5.3 indicates moderate severity; the EPSS score is not available, and the issue is not listed in KEV. The most likely attack vector involves an unauthenticated request to the application’s API or MCP endpoint with a crafted X‑Forwarded‑For header. If the attacker supplies an IP that is permitted by the allow‑list, access is granted and logs record the spoofed address, facilitating potential future credential compromise or audit bypass. The risk is heightened where the application is exposed to the internet or otherwise trusts proxy headers without proper configuration.
Github GHSA