Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.

API inconcistent in returning 404/403 depending on permission check used #66

Open
thervh70 opened this issue Jul 11, 2015 · 1 comment

Comments

@thervh70
Copy link
Member

A public user who tries to view a private announcement will get a 404.
However if it tries to delete a private anouncement it will get served a 403 error (Forbidden)
In that case it will know that there somehow is an announcement carrying that id.

@ajrouvoet
Copy link
Contributor

This is not really a security issue as an api inconsistency, sometimes you'll get a 404, sometimes a 403 depending on the method used for permission checking (dynamic in database vs dynamic in python vs static)

@thervh70 thervh70 removed the Security label Jul 11, 2015
@ajrouvoet ajrouvoet changed the title Public users can indirectly find announcements API inconcistent in returning 404/403 depending on permission check used Jul 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants