OWASP API Security Top 10
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
recognize the most common API weaknesses.
الموضوعات المخطط لها
- BOLA (broken object-level authorization):
GET /orders/42returns someone else's order. Check ownership on every object access. - Broken authentication, and broken object property-level authorization (mass assignment, excessive data exposure).
- Broken function-level authorization: a normal user calls an admin endpoint.
- Unrestricted resource consumption: no rate, size, or pagination limits.
- Also: unrestricted access to sensitive business flows, SSRF, misconfiguration, poor API inventory, unsafe consumption of third-party APIs. Verify the current list edition before recording.
تفاصيل المخطط المبدئي
عرض عملي
Order o = repo.findById(id).orElseThrow();
if (!o.customerId().equals(principal.customerId())) throw new NotFoundException();اختبر فهمك
What is BOLA?
أظهر الإجابة
Accessing another user's object by changing its ID because ownership is not checked.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.