| 标题 | vas3k TaxHacker 0.8.5 Server-Side Request Forgery |
|---|
| 描述 | A vulnerability has been found in TaxHacker, an open-source personal AI accounting and tax assistant, up to version 0.8.5. The generateInvoicePDF Server Action (app/(app)/apps/invoices/actions.ts) lacks any authentication or session validation, allowing unauthenticated attackers to invoke it via the Next-Action header. The businessLogo parameter is passed unsanitised to the @react-pdf/renderer image resolver, which resolves absolute filesystem paths via fs.readFile() and http(s) URLs via server-side fetch(). This leads to arbitrary local file read (with root privileges in the official Docker image) and Server-Side Request Forgery (SSRF). When the target is a PNG/JPEG image or an SVG/XML document with drawing tags, the content is rendered into the returned PDF, enabling data exfiltration. |
|---|
| 来源 | ⚠️ https://github.com/vas3k/TaxHacker/issues/186 |
|---|
| 用户 | CAPT (UID 100253) |
|---|
| 提交 | 2026-08-26 10時38分 (25 日前) |
|---|
| 管理 | 2026-09-19 23時05分 (25 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 407968 [vas3k TaxHacker 直到 0.8.5 Invoice PDF Renderer actions.ts generateInvoicePDF businessLogo 权限提升] |
|---|
| 积分 | 20 |
|---|