-
Notifications
You must be signed in to change notification settings - Fork 740
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
[Feature Request]: Support basic authentication and basic auth injection #81
[Feature Request]: Support basic authentication and basic auth injection #81
Comments
Hi @axel3rd, This is totally valid and relevant use-case. I thought about adding it automatically when I saw one tweet that had a similar pattern: |
There are many Authorization type (Basic, Bearer, ...) as we can see on your screenshot. Perhaps But this kind of approach breaks the "adding it automatically when Authorization header is in Headers list", because it doesn't say which type of authorization we need to inject. |
Reopen for merge in original repo. Testable from https://github.com/axel3rd/log4j-scan |
When basic-authentication is used for legacy applications, providing a valid login/password to request the "application home" and not only the "application login" page gives more chances to check if application is vulnerable.
Providing
--basic-auth-user
&--basic-auth-password
parameters as preemptive basic authentication could be useful.In addition, for this kind of application, even if any headers are logged with log4j, the user can sometime be logged after basic-auth decoded64 content (real use case found).
So having a
--basic-auth-injection
parameter with inject default payload as basic-auth user can be useful (not cumulative with--basic-auth-user
, logically incompatible):If considered as relevant, I can provide a PR.
The text was updated successfully, but these errors were encountered: