Skip to content

Validation of file uploads #14153

@sijandh35

Description

@sijandh35

Overview

Document uploads in GeoNode are accepted with very lightweight control. They are restricted to only certain file extensions, but this control can be bypassed to upload non-allowed files, such as binaries.

This is what OWASP Unrestricted File Upload.

Task

We should validate the uploaded document with different validation steps(including magic number validation python-magic.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions