{"id":"CVE-2023-46245","state":"PUBLISHED","title":"Kimai (Authenticated) SSTI to RCE by Uploading a Malicious Twig File","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.","publishedAt":"2023-10-31T15:06:23.359Z","updatedAt":"2024-08-02T20:37:40.150Z","severity":{"score":7.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["kimai kimai"],"affected":[{"vendor":"kimai","product":"kimai","versions":[{"version":"< 2.1.0","status":"affected"}]}],"references":["https://github.com/kimai/kimai/security/advisories/GHSA-fjhg-96cp-6fcw","https://github.com/kimai/kimai/commit/38e37f1c2e91e1acb221ec5c13f11b735bd50ae4"],"weaknesses":["CWE-1336"],"ingestedAt":"2026-10-29T20:06:24.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/46xxx/CVE-2023-46245.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-46245","state":"PUBLISHED","datePublished":"2023-10-31T15:06:23.359Z","dateUpdated":"2024-08-02T20:37:40.150Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-10-19T20:34:00.948Z"},"containers":{"cna":{"title":"Kimai (Authenticated) SSTI to RCE by Uploading a Malicious Twig File","descriptions":[{"lang":"en","value":"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":[{"vendor":"kimai","product":"kimai","versions":[{"version":"< 2.1.0","status":"affected"}]}],"references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-fjhg-96cp-6fcw","name":"https://github.com/kimai/kimai/security/advisories/GHSA-fjhg-96cp-6fcw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kimai/kimai/commit/38e37f1c2e91e1acb221ec5c13f11b735bd50ae4","name":"https://github.com/kimai/kimai/commit/38e37f1c2e91e1acb221ec5c13f11b735bd50ae4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1336","lang":"en","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-01-12T16:38:46.831Z"},"source":{"advisory":"GHSA-fjhg-96cp-6fcw","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/kimai/kimai/security/advisories/GHSA-fjhg-96cp-6fcw","name":"https://github.com/kimai/kimai/security/advisories/GHSA-fjhg-96cp-6fcw","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/kimai/kimai/commit/38e37f1c2e91e1acb221ec5c13f11b735bd50ae4","name":"https://github.com/kimai/kimai/commit/38e37f1c2e91e1acb221ec5c13f11b735bd50ae4","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T20:37:40.150Z"}}]}}}