📡 You're offline — showing cached content
New version available!
Quick Access
Tutorials Cybersecurity and AI Security OWASP API Security

OWASP API Security

5 min read Quiz at the end
OWASP API Security Top 10: BOLA, broken auth, property auth, resource consumption, SSRF.

OWASP API Security Top 10

#VulnerabilityAttack ExampleFix
API1Broken Object Level AuthGET /api/orders/999 (other user's order)Verify ownership on every object access
API2Broken AuthWeak JWT, no expiryShort-lived tokens, MFA, rate limit auth
API3Broken Object Property AuthPATCH sends admin:true and it worksWhitelist allowed fields per role
API4Unrestricted Resource ConsumptionNo pagination, no rate limitPagination, rate limits, query limits
API5Broken Function Level AuthDELETE /api/admin/users (non-admin)Separate admin endpoints, verify role
API6Unrestricted Access to Sensitive Business FlowsBot scrapes all pricesCAPTCHA, behaviour analysis
API7SSRFURL param fetches internal metadataWhitelist allowed domains/IPs
API8Security MisconfigurationDebug mode on, verbose errorsHarden configs, generic error messages
API9Improper Inventory ManagementOld v1 API still active, unpatchedAPI versioning, sunset old versions
API10Unsafe Consumption of APIsTrusts third-party API output blindlyValidate and sanitise all third-party data