السبت 05 ديسمبر 2026 18:10:03 GMT+01:00

Netcrook

الرئيسيةالبيان
الأخبار
Techcrook
Geocrook
WikicrookالفريقAppاتصال
EnglishItaliano

WIKICROOK

Upload handler

The part of a web application that processes user-submitted files and can become a dangerous entry point if misconfigured.

An upload handler is the application code or service that receives and processes files submitted by users. It may check file size and type, choose a storage location, rename files, and record their metadata. Because it handles attacker-controlled input, errors in its validation or storage rules can let harmful files reach a server.

In an attack, a poorly secured handler might accept a script disguised as an image or save a file in a location where the web server can execute it. That can give an attacker a path to a web shell or other server-side code. Defenses include allowlisting permitted formats, validating file content rather than trusting names or MIME types, using generated filenames, storing uploads outside the web root, and preventing execution in upload directories. Logging upload activity and monitoring for unexpected files can help detect abuse.

← فهرس WIKICROOK