-
Notifications
You must be signed in to change notification settings - Fork 116
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
Create Use-of-Password-Grant-Type.bcheck #236
Conversation
- `Use-of-Password-Grant-Type` file is used to detect for the `password` grant_type in OAuth.
- Test to detect for indicators of `password/secret` values within known JavaScript library methods.
Fix to regex.
Updated regex to use `[-_ ]?` instead of arbitrarily set repeated terms.
The `Use-of-Basic-Auth-Scheme.bcheck` file searches for HTTP requests which possess the `Authorization: Basic` HTTP request header yet was not set with an Internet Protocol/Port that supported TLS encryption.
- Created BCheck searches passively through HTTP methods by detecting whether non-GET/POST HTTP methods appear used in an HTTP request, or if non-GET/POST HTTP methods are present in a `Access-Control-Allow-Methods` HTTP response header value.
…s/httpMethodOverrideCapability.bcheck - Moved this bcheck file into a dedicated `HTTP Methods` folder.
…/Password in JavaScript Logger.bcheck - Moved file into JavaScript folder.
- Moved file into `JavaScript` folder.
…mported.bcheck - Moved file into `JavaScript` folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all your work, it's really good to see how you're using BChecks and that you're happy to share with the wider community :)
We've made a couple of suggestions for small tweaks/enhancements. In the future you might want to send each BCheck as a separate pull request so ones that are ready to go can be merged immediately.
- Updated test to limit scans towards only the `HTML` or `Script` MIME types. - Updated test to limit scans towards only non-'400s/500s' error responses.
- Updates made to only ignore HTTPS-related ports.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thank your for the updates :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
Many thanks for your submissions and patience during the review process.
Use-of-Password-Grant-Type
file is used to detect for usage of thepassword
grant_type in OAuth withinGET
&POST
HTTP requests' HTTP request bodies./OAuth
folder within the/other
root folder.BCheck Contributions