Skip to content

Fix #203: Info disclosure #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

0xygyn-X
Copy link

Recommended fix for security issue #203 :

NB: This requires no coding fix, just do disable / deprecate API Endpoint and Comment out affected code portion.

Since the "MarketPlace Model" functionality does not require any API calls to another user's profile (no need for an API call to CEO's profile)

1- Commenting out that API call to /api/user/(the 6 IDs called) in the code base is what is required to fix this vulnerability.

2- Also, disabling the API endpoint "/api/user/ID" is required from the API Collection since /api/users/ID performs the same task.

In a nutshell, remove (disable/depreciate) the /api/user/ID from the API collection and comment out that portion in the "MarketModel" code base (to avoid default calls to those 6 api endpoints)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant