CVE-2026-54394
Beschrijving NL
MISP bevat een kwetsbaarheid voor het doorlopen van paden in OrganisationsController::getOrgLogo. De kwetsbare code bouwt organisatorische logobestandspaden met behulp van organisatiegestuurde velden zoals id, naam en uuid zonder ervoor te zorgen dat het opgeloste bestand binnen de beoogde APP/bestanden/img/orgs/ map blijft. Een aanvaller die een organisatieveld kan beïnvloeden, bijvoorbeeld de organisatienaam, kan padtraversale sequenties gebruiken om ervoor te zorgen dat MISP willekeurig leesbare .png- of .svg-bestanden retourneert van buiten de logodirectory van de organisatie. Het probleem wordt opgelost door kandidaatpaden op te lossen met realpath() en te verifiëren dat ze onder de verwachte basismap blijven voordat het bestand wordt geserveerd.
Origineel (Engels) tonen
MISP contains a path traversal vulnerability in OrganisationsController::getOrgLogo. The vulnerable code builds organisation logo file paths using organisation-controlled fields such as id, name, and uuid without ensuring that the resolved file remains inside the intended APP/files/img/orgs/ directory. An attacker able to influence an organisation field, for example the organisation name, could use path traversal sequences to cause MISP to return arbitrary readable .png or .svg files from outside the organisation logo directory. The issue is fixed by resolving candidate paths with realpath() and verifying that they remain under the expected base directory before serving the file.