أخطاء تكوين الأمان — الإعدادات غير الآمنة أو الإعدادات الافتراضية أو التكوينات الخاطئة — هي واحدة من أكثر نقاط الضعف الأمنية شيوعاً (خطر من OWASP Top 10). وتشمل الإعدادات الافتراضية المكشوفة والميزات غير الضرورية والأخطاء المفصلة وغياب التصلب الأمني. تجنبها يتطلب تكويناً آمناً ومتعمداً.
أخطاء التكوين الشائعة
✗ INSECURE DEFAULTS left unchanged → default passwords, default accounts, sample content
✗ Unnecessary FEATURES/services/ports enabled → larger attack surface
✗ VERBOSE ERRORS in production → stack traces leaking internal details to attackers
✗ Missing SECURITY HEADERS; misconfigured CORS (allow-all); directory listing enabled
✗ Exposed admin/management interfaces or debug endpoints publicly
✗ Cloud misconfigs → public storage buckets, open databases, over-permissive access
✗ Outdated software / unpatched systems; overly permissive file/access permissions
