Description
In MISP, the __statisticsOrgs method in UsersController.php used the organization name directly as a file-system path component when checking for the existence of an organization logo image. The original code called file_exists() with a path constructed as APP . 'webroot' . DS . 'img' . DS . 'orgs' . DS . $k . '.png', where $k is the organization name. Because the referenced directory (app/webroot/img/orgs) no longer exists in current MISP deployments (org logos were relocated to files/img/orgs), the check was functionally dead and never triggered. However, the underlying pattern—concatenating an attacker-influenced organization name into a file path without sanitization—constitutes a path traversal weakness. An organization name containing directory traversal sequences (e.g., '../../../../etc/passwd') would, if the target directory existed, allow an authenticated user with the ability to create or rename an organization to probe for the existence of arbitrary files on the server.
Published: 2026-09-22
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: Information Disclosure
Action: Patch
AI Analysis

Impact

The vulnerability arises when an authenticated user can create or rename an organization and supply an organization name containing directory traversal sequences such as ../../.. . The MISP code concatenates this unvalidated name into a filesystem path and checks for the existence of a logo file via file_exists. If the target directory existed, the attacker could probe for arbitrary files on the server, gaining knowledge of file presence without reading content. The weakness is a standard path traversal scenario (CWE‑22).

Affected Systems

All installations of the MISP software (MISP:MISP) are potentially affected. No specific version range is supplied, so the issue applies to any deployment that still uses the legacy logo lookup code.

Risk and Exploitability

The CVSS base score is 5.1, indicating moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user with permissions to create or rename organizations, which is common for administrative roles. The attacker only learns whether a file exists; the directory itself does not change, so the risk is primarily information disclosure rather than arbitrary code execution or data loss.

Generated by OpenCVE AI on September 22, 2026 at 17:13 UTC.

Remediation

Vendor Solution

The fix corrects the logo directory path from the obsolete app/webroot/img/orgs to the current files/img/orgs location, expands the lookup to cover id, name, and uuid fields across png and svg extensions (mirroring the getOrgLogo helper), and adds a security guard: the candidate path is resolved with realpath() and verified via str_starts_with() against the resolved base directory, so any organization name containing traversal sequences (../) that would resolve outside files/img/orgs is rejected.


OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch that corrects the logo directory path, expands the lookup, and adds realpath/str_starts_with guards to sanitize organization names.
  • Until the patch is applied, restrict organization names to alphanumeric characters only, and remove any names that contain directory traversal sequences from the system.
  • Review and tighten file‑system permissions on the files/img/orgs directory to ensure that only authorized users can read its contents, reducing the impact of a potential disclosure.

Generated by OpenCVE AI on September 22, 2026 at 17:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Misp
Misp misp
Vendors & Products Misp
Misp misp

Tue, 22 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Description In MISP, the __statisticsOrgs method in UsersController.php used the organization name directly as a file-system path component when checking for the existence of an organization logo image. The original code called file_exists() with a path constructed as APP . 'webroot' . DS . 'img' . DS . 'orgs' . DS . $k . '.png', where $k is the organization name. Because the referenced directory (app/webroot/img/orgs) no longer exists in current MISP deployments (org logos were relocated to files/img/orgs), the check was functionally dead and never triggered. However, the underlying pattern—concatenating an attacker-influenced organization name into a file path without sanitization—constitutes a path traversal weakness. An organization name containing directory traversal sequences (e.g., '../../../../etc/passwd') would, if the target directory existed, allow an authenticated user with the ability to create or rename an organization to probe for the existence of arbitrary files on the server.
Title MISP Path Traversal via Organization Name in Org-Statistics Logo Check
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 5.1, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-09-22T14:59:46.097Z

Reserved: 2026-09-22T14:44:19.514Z

Link: CVE-2026-95701

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-22T15:17:28.103

Modified: 2026-09-22T16:18:23.783

Link: CVE-2026-95701

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T17:30:18Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')