| タイトル | Kimai projectのKimaiにおけるパストラバーサルの脆弱性 |
|---|---|
| 概要 | Kimaiはオープンソースの時間管理アプリケーションです。バージョン2.32.0から2.56.0未満のバージョンにおいて、System-Admin(ROLE_SYSTEM_ADMIN)ロールを持ち、upload_invoice_template権限を持つユーザーはPDF請求書テンプレートをアップロードできます。このテンプレートはサンドボックス内のTwigレンダーでpdfContext.setOption('associated_files', ...)を呼び出せます。これがmPDFのSetAssociatedFiles()に渡され、そのライターはPDF出力時にfile_get_contents($entry['path'])を呼び出し、バイトをPDF内のFlateDecodeストリームとして埋め込みます。PHPワーカーが読み取れる任意のファイルが描画された請求書内で攻撃者に返される問題です。この問題はバージョン2.56.0で修正されました。 |
| 想定される影響 | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月8日0:00 |
| 登録日 | 2026年5月11日11:04 |
| 最終更新日 | 2026年5月11日11:04 |
| CVSS3.0 : 警告 | |
| スコア | 4.9 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| Kimai project |
| Kimai 2.32.0 以上 2.56.0 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年05月11日] 掲載 |
2026年5月11日11:04 |
| 概要 | Kimai is an open-source time tracking application. From version 2.32.0 to before version 2.56.0, users with the role System-Admin (ROLE_SYSTE_ADMIN) and the permission upload_invoice_template can upload PDF invoice templates, which can call pdfContext.setOption('associated_files', ...) inside the sandboxed Twig render. This is forwarded to mPDF's SetAssociatedFiles(), whose writer calls file_get_contents($entry['path']) during PDF output and embeds the bytes as a FlateDecode stream in the PDF. Any file readable by the PHP worker is returned to the attacker inside the rendered invoice. This issue has been patched in version 2.56.0. |
|---|---|
| 公表日 | 2026年5月8日13:16 |
| 登録日 | 2026年5月9日4:11 |
| 最終更新日 | 2026年5月9日1:02 |