Kimai: Arbitrary file read in invoice PDF renderer (admin)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| kimai | kimai | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Kimai | Kimai |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-h5fh-7hwr-97mw | Kimai has an arbitrary file read in its invoice PDF renderer (admin) |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.278% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:kimai:kimai:*:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Kimai
Kimai kimai |
|
| Vendors & Products |
Kimai
Kimai kimai |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Kimai: Arbitrary file read in invoice PDF renderer (admin) | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|