YUNOVA · Ethical Hacking · Module 7: Web application testing on DVWA
File upload and inclusion on DVWA
File upload and inclusion on DVWA
Key points
- File upload की कमज़ोरी तब बनती है जब app यह नहीं जाँचता कि upload हुई file किस तरह की है और कहाँ रखी जा रही है। File inclusion में app गलत file को code की तरह load कर लेता है।
- मुख्य बचाव: file type और size की server-side जाँच, uploads को web root से बाहर रखना, files के नाम बदलना और scanning करना।
- Defenders upload folders की monitoring, antivirus या malware scanning, और असामान्य file requests के logs से ऐसे मामले पकड़ते हैं।
- अभ्यास केवल DVWA जैसे practice app पर, अपनी isolated lab में करें।