Skip to content

Conversation

@Edmar-Sousa
Copy link

- INSECURE FILE UPLOAD

Summary

Added a new PHP teaching scenario that demonstrates an Unrestricted File Upload vulnerability that occasionally leads to Remote Code Execution (RCE). The goal is to provide a reproducible (Docker) lab for study—exploitation, understanding the attack vector, and subsequent demonstration of mitigations.

OWASP:

  • A5 — Security Misconfiguration (primary);
  • A3 — Injection (secondary)

Language/Stack: PHP (vanilla) + Apache + Docker

I think it's a good app! A good app for practicing: hashing filenames before saving them to disk, checking magic bytes/MIME TYPE, Re-encoding to remove malicious metadata, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant