The Wertheim SafeController Software, AssemblyVersion 6.15.8328.28014, contains insufficient server-side file type validation in the /safe/contract/uploadcustomdocuments endpoint. The application validates uploaded files based on the user-controlled HTTP Content-Type value and accepts the upload if this value contains an allowed string such as pdf, jpeg, tiff, or png. An authenticated attacker with any role or permission level can spoof the Content-Type value and upload arbitrary file content.
Restrict access to the SafeController web application and document upload functionality to authorized users and trusted network locations only. Enforce server-side validation of uploaded file extensions, MIME types, file signatures, and file content. Do not rely on client-supplied Content-Type headers for file validation. Store uploaded files outside of web-executable directories and ensure that uploaded content cannot be interpreted as server-side code. These measures should only be treated as interim risk reduction; the vendor-provided patch should be installed.
The vendor provides a patch which should be installed immediately. Specific fixed version information was not provided. Affected parties should contact the vendor to request the update.