pain001-mcpに任意のパスへファイルを書き込まれる脆弱性
Summary
pain001-mcpの0.0.72以上0.0.80未満に、commit_payment_batchツールのパス検証の不備による脆弱性があります。細工したoutput_file_pathを指定されると、出力先のディレクトリの外にあるサーバー上のファイルが作成または上書きされ、生成されたXMLが書き込まれるおそれがあります。修正版の0.0.80に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
pain001-mcpの0.0.72以上0.0.80未満に、commit_payment_batchツールのパス検証の不備による脆弱性があります。細工したoutput_file_pathを指定されると、出力先のディレクトリの外にあるサーバー上のファイルが作成または上書きされ、生成されたXMLが書き込まれるおそれがあります。修正版の0.0.80に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| sebastienrousseaupain001-mcp |
≥ 0.0.72, < 0.0.80→ 0.0.80 |
0.0.80 |
Original description The description as published by the source.
pain001-mcp 0.0.72 before 0.0.80 contains a path traversal vulnerability in the commit_payment_batch MCP tool that allows attackers to write files outside any output directory via output_file_path. Attackers can stage a batch, reuse the self-issued confirmation_token, and supply absolute, dot-dot, or symlinked paths to create or overwrite server-writable files with generated XML.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com
- web pypi.org