cbcvebase.
CVE-2018-19908
published 2018-12-06

CVE-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
VendorProductVersion rangeFixed in
misp-projectmisp>= 2.4.90 < 2.4.992.4.99

Detection & IOCsextracted from sources · hover to see the quote

pathapp/Model/Event.php
  • 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.