Open ZuhairORZaki opened 6 months ago
@ZuhairORZaki Could you please assign me this task
We don't assign issues to external contributors. Please comment that you're working on the issue after checking that no one else is, and then send a pull request for it. Thank You!
Hi @mdehsan873 I can't assign but if you would like to work on this issue then please feel free to do so.
Reporting a vulnerability found by iCR
While triaging your project, our bug fixing tool generated the following message:
In file: auth.py, there is a method that stores user-provided data into logs without validating the data. This allows an attacker to corrupt the log file structure.
The method
resend_verification_email
handles POST requests sent to path/resend-verification-email
. It reads theemail
field of request JSON data and includes it in a log message without validating. So it's possible to inject false log entries by assigningemail
values containing inappropriate characters e.g.\n
. If this logged data is used for later analysis this could be a problem.CLA Requirements:
This section is only relevant if your project requires contributors to sign a Contributor License Agreement (CLA) for external contributions.
All contributed commits are already automatically signed off.
The meaning of a signoff depends on the project, but it typically certifies that committer has the rights to submit this work under the same license and agrees to a Developer Certificate of Origin (see https://developercertificate.org/ for more information).
Sponsorship and Support:
This work is done by the security researchers from OpenRefactory and is supported by the Open Source Security Foundation (OpenSSF): Project Alpha-Omega. Alpha-Omega is a project partnering with open source software project maintainers to systematically find new, as-yet-undiscovered vulnerabilities in open source code - and get them fixed - to improve global software supply chain security.
The bug is found by running the iCR tool by OpenRefactory, Inc. and then manually triaging the results.