Skip to content
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

Avoid common hackers alias calls to reach the database #797

Open
hugotiburtino opened this issue Jun 12, 2024 · 0 comments
Open

Avoid common hackers alias calls to reach the database #797

hugotiburtino opened this issue Jun 12, 2024 · 0 comments

Comments

@hugotiburtino
Copy link
Member

hugotiburtino commented Jun 12, 2024

Everybody that has a webapp knows that some bots are out there try to get secrets through some paths, like /.env or wp/admin....

Of course, we are not that dumm and are protected from these attacks. But it reaches oft through our alias query the database, making so unnecessary calls to it. We could simply block such requests, that we know we won't never have as alias.

See serlo/api.serlo.org#1573 (comment)

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

No branches or pull requests

1 participant