CVE-2026-95703 PUBLISHED

MISP OrganisationsController File Existence and Image-Type Oracle via Forged Upload tmp_name

Assigner: CIRCL
Reserved: 22.09.2026 Published: 22.09.2026 Updated: 22.09.2026

In MISP, the OrganisationsController::__uploadLogo method processed a caller-supplied tmp_name value with filesystem probes (file_exists, MIME type detection, EXIF reading) before verifying that the value corresponded to a genuine PHP file upload via is_uploaded_file. An authenticated site-admin user could supply an arbitrary server file path as the tmp_name parameter. The application would then probe that path and return distinct validation error messages depending on whether the file existed and what its image type was, effectively creating a file-existence and image-type oracle against the server filesystem.

The vulnerability requires site-admin privileges and does not allow arbitrary file read, code execution, or modification; the impact is limited to disclosure of whether a given path exists on the server and, for image files, their type.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 5.1

Product Status

Vendor MISP
Product MISP
Versions
  • affected from 0 to 2.5.47 (excl.)

Solutions

The is_uploaded_file() guard is hoisted to execute immediately after the basic size/error check and before any filesystem probe (file_exists, MIME detection, EXIF reading). If the tmp_name is empty or does not correspond to a genuine PHP upload, the method returns false early, preventing any filesystem interaction with an attacker-controlled path and eliminating the information oracle.

Credits

  • iglocska remediation developer
  • Claude Opus 4.8 remediation developer

References

Problem Types

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor CWE
  • CWE-20 Improper Input Validation CWE

Impacts

  • CAPEC-126 Parameter Tampering