{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-25624 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-25624 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-25624 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-25624 in the wild and no public exploit code.\n\nAffected product: dfir-iris iris-web. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-25624/ (Markdown: https://insights.sbomify.com/CVE-2024-25624/index.md)","id":"CVE-2024-25624","markdown":"https://insights.sbomify.com/CVE-2024-25624/index.md","name":"CVE-2024-25624","record":{"aliases":["GHSA-m64w-f7fg-hpcr"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"IRIS incident response platform","requires_auth":"high_privilege","summary":"Authenticated administrators can inject malicious Jinja2 templates into reports, allowing any user to trigger remote code execution.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"iris","vendor":"dfir-iris"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"iris-web vulnerable to Server Side Template Injection in reports","id":"CVE-2024-25624","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Pimcore Host Header Injection in user invitation link","id":"CVE-2024-25625"},"packages":[],"prev":{"headline":"Lack of media type verification of Activity Streams objects allows impersonation of remote accounts","id":"CVE-2024-25623"},"products":["iris-web"],"published":"2024-04-25","related":[{"cvss_score":9.6,"headline":"Iris Allows Arbitrary File Deletion via Mass Assignment in Datastore File Management","id":"CVE-2026-22783","kev_date_added":null,"published":"2026-01-12"},{"cvss_score":6.3,"headline":"Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in iris-web","id":"CVE-2023-30615","kev_date_added":null,"published":"2023-05-25"},{"cvss_score":4.6,"headline":"Improper Neutralization of Alternate XSS Syntax in iris-web","id":"CVE-2024-25640","kev_date_added":null,"published":"2024-02-19"},{"cvss_score":4.6,"headline":"Improper Neutralization of Alternate XSS Syntax in iris-web","id":"CVE-2023-50712","kev_date_added":null,"published":"2023-12-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["dfir-iris"]},"summary":"Authenticated administrators can inject malicious Jinja2 templates into reports, allowing any user to trigger remote code execution.","url":"https://insights.sbomify.com/CVE-2024-25624/"}