Skip to content

Insecure Direct Object References (IDOR) (High) #40

@Ayaanshaikh12243

Description

@Ayaanshaikh12243

Files: api/posts/create.php, data access endpoints
Problem: No authorization checks for resource access
Example:

$userId = (int) $_SESSION['user']['id']; // No verification if user can access this resource

Copy
php
Impact: Users can access/modify other users' data

Metadata

Metadata

Labels

ECWoC26ECWoC 2026 Pull RequestenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions