Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain site_admin credentials
-
DeliverySet JsonLogTool log path to webroot/shell.php
-
ExploitTrigger error containing PHP payload
-
ExecutionJsonLogTool writes PHP file
-
PersistRequest shell.php via web server
-
ImpactExecute code as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated MISP site_admin account (the only role permitted to change Server settings), and a deployment in which the MISP web server can serve and execute PHP from a directory that the OS user running MISP can also write to - typically the standard layout where /var/www/MISP/app/webroot is both web-served and writable by www-data. The attacker must additionally be able to cause JsonLogTool to emit a log line whose content forms syntactically valid PHP after JSON encoding, which is what underlies the AC:H rating. Exploitation is not possible without site_admin (the configuration field is not exposed to lower roles) and is blocked entirely on instances already running the commit 9600d486 fix. |
| Impact | The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N, base 8.7) is internally consistent with the description: full RCE impact but gated behind site-administrator privileges (PR:H) and non-trivial attack complexity (AC:H) because the attacker must both point the log at an executable path under the webroot AND coax a log line containing valid PHP into being written. There is no CISA KEV listing and no EPSS score supplied, and the references contain only the patch commit - so no public exploit identified at time of analysis. Real-world risk is therefore a post-authentication privilege-to-RCE pivot: relevant where the site-admin account is not equivalent to OS root (e.g. multi-tenant or partially delegated MISP deployments), and as a persistence/lateral-movement step after credential compromise. Pure perimeter risk is low because the attacker already needs the highest in-app role. |
| Exploit ScenarioDerived | An attacker who has obtained MISP site-administrator credentials (via phishing, reused credentials, or another vuln) browses to the Server Settings page, changes the JsonLogTool ndjson error-log path to something like /var/www/MISP/app/webroot/img/shell.php, then deliberately triggers an error containing a crafted PHP payload (for example by submitting an event/attribute whose value is reflected into the JSON error context). Once the log line is written, the attacker fetches the file via the MISP web server to execute the payload as the www-data/apache user. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Remote code execution in MISP allows authenticated site administrators to abuse the JsonLogTool NDJSON error log configuration to write attacker-controlled content to a PHP file under the webroot, yielding code execution as the web server user. No public exploit identified at time of analysis, but a vendor patch is available via the MISP GitHub repository.
RemediationAI
Upstream fix available (commit 9600d486ccfc98388e13897fd954350cebac5fb0); a released patched version is not independently confirmed in the supplied data, so upgrade to the first MISP release that includes that commit, available from https://github.com/MISP/MISP. Until that upgrade is in place, the practical compensating controls are to leave the JsonLogTool error-log path setting at its default (the built-in path under APP/tmp/logs) and audit Server.settings for any custom value that resolves outside APP/tmp/logs or /var/log, treating any path pointing to a webroot-served directory as an active compromise indicator; additionally, restrict who holds the site_admin role and review the audit log for recent changes to log-path settings. As a deeper defence, configure the web server (Apache/Nginx) to refuse to execute PHP from APP/tmp/logs and /var/log so that even a future log-path bug cannot pivot to RCE - the trade-off is purely operational hardening with no functional side effect on MISP itself.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MISP (Malware Information Sharing Platform) is a PHP/CakePHP threat-intelligence platform. The flaw lives in Server.php where the configuration setting that points JsonLogTool at its NDJSON error log accepted any filesystem path with no validation. Because JsonLogTool appends untrusted, attacker-influenced strings into the log, the path itself becomes a write primitive. The root cause aligns with CWE-94 Improper Control of Generation of Code: the program treats a controllable file name (including its extension and location) as data, when in fact PHP's mod_php / FPM handlers will treat any *.php file under the document root as executable code. The fix introduces a new testLogPath validator that forces absolute paths, resolves symlinks/'..' via realpath, restricts the parent directory to APP/tmp/logs or /var/log, rejects stream wrappers (phar://, php://) and CR/LF/NUL, and restricts file names to .log or .ndjson while blocking dotted segments matching php/phar/phtml/cgi/pl/py/sh/asp/aspx/jsp/exe.
Know when Misp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Network-reachable admin UI but PR:H because only site_admin can change the setting, AC:H because the attacker must also force valid PHP into a log line, and S:C as code executes as a different OS principal (web server) than the application.
Primary rating from Vendor (CIRCL).
CVSS VectorVendor: CIRCL
DescriptionCVE.org
MISP allowed a site administrator to configure an arbitrary filesystem path for the NDJSON error log used by JsonLogTool. Because log entries can include attacker-controlled content, an authenticated attacker with site administrator privileges could direct log output to a PHP file in a web-accessible directory and inject PHP code through logged data. Accessing the resulting file could lead to remote code execution with the privileges of the web server process.
The fix restricts log destinations to existing directories beneath APP/tmp/logs or /var/log, requires absolute paths, rejects stream wrappers and traversal-related input, and limits filenames to .log or .ndjson extensions while disallowing executable extension segments.
Executive ViewAI
MISP instances face remote code execution risk through the JsonLogTool logging configuration feature accessible to administrators. This threatens organizations' ability to securely operate threat intelligence platforms, as compromise could allow attackers to alter shared threat intelligence or disrupt critical security operations.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
An issue was discovered in MISP 2.4.9x before 2.4.99. Rated high severity (CVSS 8.8), this vulnerability is remotely exp
An issue was discovered in MISP before 2.4.158. Rated critical severity (CVSS 9.8), this vulnerability is remotely explo
app/Controller/Component/IndexFilterComponent.php in MISP before 2.4.167 mishandles ordered_url_params and additional_de
SQL injection in MISP threat intelligence platform versions prior to 2.5.37 allows remote unauthenticated attackers to m
An issue was discovered in MISP before 2.4.158. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitab
MISP 2.4.172 mishandles different certificate file extensions in server sync. Rated high severity (CVSS 7.5), this vulne
In MISP before 2.4.148, app/Lib/Export/OpendataExport.php mishandles parameter data that is used in a shell_exec call. R
An issue was discovered in app/Controller/UsersController.php in MISP 2.4.92. Rated critical severity (CVSS 9.8), this v
An issue was discovered in MISP 2.4.128. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,
MISP before 2.4.135 lacks an ACL check, related to app/Controller/GalaxyElementsController.php and app/Model/GalaxyEleme
app/View/Elements/genericElements/IndexTable/Fields/generic_field.ctp in MISP 2.4.144 does not sanitize certain data rel
MISP 2.4.148, in certain configurations, allows SQL injection via the app/Model/Log.php $conditions['org'] value. Rated
EUVD-2026-38229
GHSA-7v9f-64q7-x2jg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB