Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Hrishikeshkotwalkar

#33520of 53,635
7.8Total CVSS
Vulnerabilities · 1
PT-2024-36805
7.8
2024-12-23
Ckeditor · Ckeditor · CVE-2024-56363
**Name of the Vulnerable Software and Affected Versions** APTRS version 1.0 **Description** The issue is related to the web application's handling of user-supplied input that is incorporated into a Jinja2 template. When user input is improperly sanitized or validated, an attacker can inject Jinja2 syntax into the template, causing the server to execute arbitrary code. For example, an attacker might be able to inject expressions like `{{ config }}`, `{{ self.class.mro[1].subclasses() }}`, or more dangerous payloads that trigger execution of arbitrary Python code. The vulnerability can be reproduced by submitting crafted input to all the template fields handled by ckeditor, that are passed directly to a Jinja2 template. If the input is rendered without sufficient sanitization, it results in the execution of malicious Jinja2 code on the server. **Recommendations** To resolve the issue in APTRS version 1.0, update to version 1.0.1, which includes a fix for the high-severity SSTI to code execution vulnerability. As a temporary workaround, consider restricting access to the template fields handled by ckeditor to minimize the risk of exploitation. Additionally, ensure that all user input is properly sanitized and validated before being incorporated into Jinja2 templates.