CVEbaza.plSłownik CWECWE-646
Common Weakness Enumeration

CWE-646

Reliance on File Name or Extension of Externally-Supplied File

Kategoria: VariantCVE: 10
Opis

Produkt pozwala na przesyłanie plików, ale polega na nazwie pliku lub jego rozszerzeniu w celu określenia odpowiednich zachowań. Atakujący mogą to wykorzystać, aby spowodować błędną klasyfikację pliku i jego przetworzenie w niebezpieczny sposób.

Description (EN)

The product allows a file to be uploaded, but it relies on the file name or extension of the file to determine the appropriate behaviors. This could be used by attackers to cause the file to be misclassified and processed in a dangerous fashion.

Podatności CVE z CWE-646 (10)
9.4
CVSS
CRITICAL
CVE-2024-52052

Podatność w Wowza Streaming Engine poniżej wersji 4.9.1 umożliwia uwierzytelnionemu administratorowi Streaming Engine Manager wykonanie zdalnego kodu z wysokimi uprawnieniami. Zagrożenie jest krytyczne ze względu na możliwość przejęcia pełnej kontroli nad systemem oraz środowiskiem powiązanym.

pub. 2024-11-21
8.7
CVSS
HIGH
CVE-2026-45315

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.3, the audio transcription upload endpoint takes the file extension from the user-supplied filename and saves the file under CACHE_DIR/audio/transcriptions/.. The /cache/{path} route serves these files via FileResponse, which sets Content-Type from the on-disk extension and emits no Content-Disposition. A verified user with the default-on chat.stt permission can upload a polyglot WAV+HTML file named pwn.html and trick any other user into opening the resulting URL — the response comes back as text/html and any embedded <script> runs in the Open WebUI origin. This vulnerability is fixed in 0.9.3.

pub. 2026-05-15
8.7
CVSS
HIGH
CVE-2025-58449

Maho is a free and open source ecommerce platform. In Maho prior to 25.9.0, an authenticated staff user with access to the `Dashboard` and `Catalog\Manage Products` permissions can create a custom option on a listing with a file input field. By allowing file uploads with a `.php` extension, the user can use the filed to upload malicious PHP files, gaining remote code execution. Version 25.9.0 fixes the issue.

pub. 2025-09-08
7.5
CVSS
HIGH
CVE-2021-34639

Authenticated File Upload in WordPress Download Manager <= 3.1.24 allows authenticated (Author+) users to upload files with a double extension, e.g. "payload.php.png" which is executable in some configurations. This issue affects: WordPress Download Manager version 3.1.24 and prior versions.

pub. 2021-08-05
6.6
CVSS
MEDIUM
CVE-2025-30662

Symlink following in the installer for the Zoom Workplace VDI Plugin macOS Universal installer before version 6.3.14, 6.4.14, and 6.5.10 in their respective tracks may allow an authenticated user to conduct a disclosure of information via network access.

pub. 2025-11-13
5.5
CVSS
MEDIUM
CVE-2024-38432

Matrix Tafnit v8 - CWE-646: Reliance on File Name or Extension of Externally-Supplied File

pub. 2024-07-30
5.5
CVSS
MEDIUM
CVE-2023-45599

A CWE-646 “Reliance on File Name or Extension of Externally-Supplied File” vulnerability in the “iec61850” functionality of the web application allows a remote authenticated attacker to upload any arbitrary type of file into the device. This issue affects: AiLux imx6 bundle below version imx6_1.0.7-2.

pub. 2024-03-05
5.3
CVSS
MEDIUM
CVE-2025-1889

picklescan before 0.0.22 only considers standard pickle file extensions in the scope for its vulnerability scan. An attacker could craft a malicious model that uses Pickle and include a malicious pickle file with a non-standard file extension. Because the malicious pickle file inclusion is not considered as part of the scope of picklescan, the file would pass security checks and appear to be safe, when it could instead prove to be problematic.

pub. 2025-03-03
4.3
CVSS
MEDIUM
CVE-2026-20172

A vulnerability in the Lite Agent feature of Cisco Enterprise Chat and Email (ECE) could allow an authenticated, remote attacker to conduct browser-based attacks. To exploit this vulnerability, the attacker must have valid credentials for a user account with at least the role of Agent. This vulnerability is due to inadequate validation of file contents during file upload operations. An attacker could exploit this vulnerability by uploading a file that contains malicious scripts or HTML code, which the application could make available to other users to access. A successful exploit could allow the attacker to execute the contents of that file in the browser of a user and conduct browser-based attacks.&nbsp;

pub. 2026-05-06
4.3
CVSS
MEDIUM
CVE-2025-41720

A low privileged remote attacker can upload arbitrary data masked as a png file to the affected device using the webserver API because only the file extension is verified.

pub. 2025-10-22
Informacje
ID: CWE-646
Typ: Variant
Podatności: 10
MITRE CWE ↗
← Słownik CWE
CWE-646 — Poleganie na nazwie pliku lub rozszerzeniu pliku dostarczonego z zewnątrz | Słownik CWE | CVEbaza.pl