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

[BUG] Possible CSRF vulnerability #373

Open
scalzava opened this issue May 15, 2024 · 1 comment
Open

[BUG] Possible CSRF vulnerability #373

scalzava opened this issue May 15, 2024 · 1 comment
Labels
bug Something isn't working question Further information is requested

Comments

@scalzava
Copy link

Describe the bug
Our security team is working on the automated detection of session vulnerabilities in opensource web applications, including CSRF. Our analyzer identified that the register function of userregister/views.py has been declared as CSRF exempt. After manual analysis, we believe that this practice might leave your application vulnerable to security-relevant CSRF attempts.

Can you take a look into the relevant code parts and comment on the issue?

Steps to Reproduce
A web attacker with control of a malicious web page can use HTML / JavaScript to craft a request towards the user registration endpoint, thus being able to register new users in the web application.

Expected behavior
The user registration endpoint should only accept HTTP requests bearing an anti-CSRF token or some other authentication credential which is not susceptible to CSRF.

Deployment Method

  • [ x ] Docker
  • [ x ] Bare Metal

Version Information
Latest version available on GitHub as of May 15, 2024.

@scalzava scalzava added bug Something isn't working question Further information is requested labels May 15, 2024
@Singosgu
Copy link
Collaborator

GreaterWMS 2.1.49 will be end of GreaterWMS2

and I start new project Bomiot,it will change all things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants