CVE-2018-19908
published 2018-12-06CVE-2018-19908: An issue was discovered in MISP 2.4.9x before 2.4.99. In app/Model/Event.php (the STIX 1 import code), an unescaped filename string is used to construct a…
PriorityP267high8.8CVSS 3.0
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
17.16%
96.7th percentile
An issue was discovered in MISP 2.4.9x before 2.4.99. In app/Model/Event.php (the STIX 1 import code), an unescaped filename string is used to construct a shell command. This vulnerability can be abused by a malicious authenticated user to execute arbitrary commands by tweaking the original filename of the STIX import.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| misp-project | misp | >= 2.4.90 < 2.4.99 | 2.4.99 |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor MISP STIX 1 import requests where the submitted filename contains shell metacharacters (e.g., `;`, `|`, `>`, `#`, backticks). The injected payload is embedded directly in the filename field used to construct a shell command in app/Model/Event.php. ↗
- →Alert on child processes of the MISP web application (e.g., Apache/PHP worker) spawning `mysql`, `sh`, `python3`, or `base64` binaries, which indicates successful command injection via the STIX import filename. ↗
- →Detect SQL privilege escalation attempts: monitor for `UPDATE users SET role_id=1` queries against the MISP database, which is the exploit's demonstrated payload to elevate a user to admin. ↗
- ·The exploit requires an authenticated MISP session; unauthenticated exploitation is not possible. Detection should focus on authenticated users performing STIX 1 imports with anomalous filenames. ↗
- ·Affected versions are MISP 2.4.90 through 2.4.98 (fixed in 2.4.99). Detections targeting app/Model/Event.php shell construction are only relevant on unpatched instances in this range. ↗
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
MISP up to 2.4.9x Import app/Model/Event.php Filename String os command injection (EDB-46401)
vuldb·2026-06-23·CVSS 8.8
CVE-2018-19908 [HIGH] MISP up to 2.4.9x Import app/Model/Event.php Filename String os command injection (EDB-46401)
A vulnerability was found in MISP up to 2.4.9x. It has been classified as critical. This affects an unknown part of the file app/Model/Event.php of the component Import Handler. This manipulation as part of Filename String causes os command injection.
This vulnerability is tracked as CVE-2018-19908. The attack is possible to be carried out remotely. Moreover, an exploit is present.
Upgrading the affected component is recommended.
GHSA
GHSA-2g5q-p9pf-crp5: An issue was discovered in MISP 2
ghsa_unreviewed·2022-05-13
CVE-2018-19908 [HIGH] CWE-78 GHSA-2g5q-p9pf-crp5: An issue was discovered in MISP 2
An issue was discovered in MISP 2.4.9x before 2.4.99. In app/Model/Event.php (the STIX 1 import code), an unescaped filename string is used to construct a shell command. This vulnerability can be abused by a malicious authenticated user to execute arbitrary commands by tweaking the original filename of the STIX import.
No detection rules found.
No writeups or analysis indexed.
https://github.com/MISP/MISP/commit/211ac0737281b65e7da160f0aac52f401a94e1a3https://github.com/MISP/MISP/releases/tag/v2.4.99https://www.exploit-db.com/exploits/46401/https://github.com/MISP/MISP/commit/211ac0737281b65e7da160f0aac52f401a94e1a3https://github.com/MISP/MISP/releases/tag/v2.4.99https://www.exploit-db.com/exploits/46401/
2018-12-06
Published