Skip to content
OpenAdvisories
High · 7.2 CVE-2023-46245 EUVD-2023-2726GHSA-fjhg-96cp-6fcw

Kimai (Authenticated) SSTI to RCE by Uploading a Malicious Twig File

Published Oct 31, 2023 · Updated Aug 2, 2024 · Assigned by GitHub_M

Description

Kimai is a web-based multi-user time-tracking application. Versions prior to 2.1.0 are vulnerable to a Server-Side Template Injection (SSTI) which can be escalated to Remote Code Execution (RCE). The vulnerability arises when a malicious user uploads a specially crafted Twig file, exploiting the software's PDF and HTML rendering functionalities. Version 2.1.0 enables security measures for custom Twig templates.

Affected products

VendorProductAffectedFixed
kimai kimai < 2.1.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist kimai/kimai < 2.1.0 2.1.0 GHSA-fjhg-96cp-6fcw

References