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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:misp-project:misp:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4.90"
},
{
"fixed": "2.4.99"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "211ac0737281b65e7da160f0aac52f401a94e1a3"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.4.99",
"range": [
{
"fixed": "c1ad4abf8ff8c3d0bae8666c1ce27d68a217a983"
}
],
"source": "REFERENCES_TAG"
}
]
}