CVE-2024-25624 iris-web vulnerable to Server Side Template Injection in reports

Medium 6.8 Published Updated

Authenticated administrators can inject malicious Jinja2 templates into reports, allowing any user to trigger remote code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-25624?

CVE-2024-25624 is a medium-severity code injection vulnerability in dfir-iris iris-web, published on 25 Apr 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Iris is a web collaborative platform aiming to help incident responders sharing technical details during investigations. Due to an improper setup of Jinja2 environment, reports generation in `iris-web` is prone to a Server Side Template Injection (SSTI). Successful exploitation of the vulnerability can lead to an arbitrary Remote Code Execution. An authenticated administrator has to upload a crafted report template containing the payload. Upon generation of a report based on the weaponized report, any user can trigger the vulnerability. The vulnerability is patched in IRIS v2.4.6. No workaround is available. It is recommended to update as soon as possible. Until patching, review the report templates and keep the administrative privileges that include the upload of report templates limited to dedicated users.

Weakness: CWE-94, CWE-1336

Which versions are affected by CVE-2024-25624?

It affects 1 product.

Products include Dfir-Iris Iris.

How do I fix CVE-2024-25624?

No fix has been published for CVE-2024-25624 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-25624 being exploited?

There is no known exploitation of CVE-2024-25624 in the wild and no public exploit code.

Sources

Also known as GHSA-m64w-f7fg-hpcr.

Is CVE-2024-25624 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free