Base solution for your next web application
Open Closed

Security: EntityChangeAppService.GetEntityChangesByEntity is accessible without authentication #12708


User avatar
0
npdevs created

Product version: ASP.NET Zero v15.5.0

EntityChangeAppService in the template has no [AbpAuthorize] attribute, on either the class or its methods. Because ABP application services are anonymous unless they are explicitly authorized, this endpoint can be called without logging in:

GET /api/services/app/EntityChange/GetEntityChangesByEntity?EntityTypeFullName=...&EntityId=...

The tracked types by default are OrganizationUnit, Role and Tenant, and all three use sequential integer IDs. An attacker can therefore enumerate them.

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

No answer yet!