Skip to content
OpenAdvisories

Weakness (CWE)

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

Base Incomplete

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.

More detail

This could be used by attackers to cause the file to be
misclassified and processed in a dangerous fashion, causing
the wrong action to occur.

How to prevent it (1 mitigation)
  1. Architecture and Design

    Make decisions on the server side based on file content and not on file name or extension.

Source: MITRE CWE-646

1 result · Clear filters · Feed

  • Critical 9.4

    Stream Target Remote Code Execution in Wowza Streaming Engine

    Wowza Streaming Engine below 4.9.1 permits an authenticated Streaming Engine Manager administrator to define a custom application property and poison a stream target for high-privilege remote code execution.