OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
5.12k stars 813 forks source link

MIME type in uploaded artifacts is not correct and lead to multiple errors #7486

Closed SamuelHassine closed 1 day ago

SamuelHassine commented 2 days ago

Description

  1. Take an exe file, rename it without extension: calc-exe.zip

  2. Upload it in the artifact section

  3. Result:

MIME Type of the artifact is correct:

image

MIME Type of the associated file is always "text/plain":

image

Other example with the connector

Correct MIME Type here: image

Incorrect in the associated file: image