CVE-2024-56363

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56363
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56363.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-56363
Aliases
  • GHSA-h4w2-hvcg-938j
Published
2024-12-23T18:15:07Z
Modified
2025-01-15T05:27:40.906727Z
Summary
[none]
Details

APTRS (Automated Penetration Testing Reporting System) is a Python and Django-based automated reporting tool designed for penetration testers and security organizations. In 1.0, there is a vulnerability in the web application's handling of user-supplied input that is incorporated into a Jinja2 template. Specifically, 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.

References

Affected packages

Git / github.com/aptrs/aptrs

Affected ranges

Type
GIT
Repo
https://github.com/aptrs/aptrs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1

1.*

1.0