Saltar al contenido
uencoder

OWASP API Arriba 10 Referencia

Referencia para el OWASP API Seguridad Arriba 10 risks específico a API endpoints.

API-Specific Risks

The OWASP API Top 10 (2023) addresses risks unique to APIs. API1 Broken Object Level Authorization (BOLA/IDOR) is the top API risk. API2 Broken Authentication covers weak token validation. API3 Broken Object Property Level Authorization covers mass assignment and excessive data exposure. API4 Unrestricted Resource Consumption covers rate limiting and DoS. API5 Broken Function Level Authorization covers privilege escalation via endpoints.

API1 BOLA
Object-level authz
IDOR
API3
Property-level authz
mass assignment
API4
Resource limits
rate limiting

API Security Patterns

APIs need authorization checks on every object access, not just endpoint access. Rate limiting per-client prevents abuse and DoS. Input validation and schema enforcement prevent injection and mass assignment. Token-based auth with short expiry and refresh limits reduces exposure. API gateways centralize rate limiting, auth, and logging. Contract testing ensures clients and servers agree on schemas. Monitoring detects anomalous access patterns.

object authz
Per-object checks
not just endpoint
rate limit
Per-client limits
prevent DoS
gateway
Centralized controls
auth, logging

Herramientas relacionadas

参考链接