Kimai projectのKimaiにおけるパストラバーサルの脆弱性
| Title |
Kimai projectのKimaiにおけるパストラバーサルの脆弱性
|
| Summary |
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で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 8, 2026, midnight |
| Registration Date |
May 11, 2026, 11:04 a.m. |
| Last Update |
May 11, 2026, 11:04 a.m. |
|
CVSS3.0 : 警告
|
| Score |
4.9
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Affected System
| Kimai project |
|
Kimai 2.32.0 以上 2.56.0 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月11日] 掲載 |
May 11, 2026, 11:04 a.m. |
NVD Vulnerability Information
CVE-2026-44298
| Summary |
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.
|
| Publication Date |
May 8, 2026, 1:16 p.m. |
| Registration Date |
May 9, 2026, 4:11 a.m. |
| Last Update |
May 9, 2026, 1:02 a.m. |
Related information, measures and tools
Common Vulnerabilities List