Project

General

Profile

Actions

Story #28

open

Epic #25: Malicious File Upload Prevention

Block Malicious Filenames (Double Extension, Null Byte, Meta Characters)

Added by rashmita rout about 2 months ago. Updated about 1 month ago.

Status:
New
Priority:
Medium
Assignee:
Target version:
-
Start date:
01/07/2026
Due date:
% Done:

66%

Estimated time:
(Total: 0:00 h)
Acceptance Criteria:

1. Filenames exceeding allowed character length are rejected

2. Files with double extensions (e.g. file.php.jpg) are blocked

3. Files containing double dots (..) are rejected

4. Filenames containing null byte (%00) are rejected

5. Filenames with special/meta characters are sanitized or rejected

6. Validation enforced strictly at server side

DOR:
No
Story Points:
Work Type:
Feature
User Impact:
Technical Area:
Release Narrative:
Planned Sprint:
Completed In Sprint:
Spillover Reason:

Description

Longfilename refers to file names that exceed a certain character limit. A double extension occurs when a file name has two periods (dots) followed by an extension, such as "file.tar.gz". The presence of double dots in a file name, like "important..doc", can be a security risk as it might allow unauthorized access or manipulation of files in certain systems. Meta characters are special characters used in programming or command-line contexts.
Attacker uploads a malicious file with the file name "malicious%00.jpg". The %00 represents the null byte. To prevent exploits, the web application should implement robust input validation and sanitization mechanisms that detect and reject file names containing null bytes or other potentially malicious characters


Subtasks 6 (2 open4 closed)

Bug #44: Validate actual file content, not just extension or MIME.NewAnkit Tiwari01/07/2026

Actions
Bug #45: Double extension file name should not be acceptable.ClosedSuman dobriyal01/08/2026

Actions
Bug #46: File containing more than single dot should be rejected.ClosedSuman dobriyal01/08/2026

Actions
Bug #47: high risk type files need to restrict to safe the system from attackers.ClosedSuman dobriyal01/08/2026

Actions
Bug #48: Validate actual file content, not just extension or MIME.ClosedSuman dobriyal01/08/2026

Actions
Bug #65: In picture choice and Logo upload section message are showing wrong. In logo section unable to upload anything.NewAnkit Tiwari01/19/2026

Actions
Actions

Also available in: Atom PDF