-
Notifications
You must be signed in to change notification settings - Fork 134
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
Endpoint login exposes user credentials via query string #3160
Comments
@richard-cox is this planned to be fixed in the near future? |
@nwmac I thought we changed this as part of a previous PR, but master looks unchanged. What's the latest update? |
Will this be resolved soon? |
I spoke to @nwmac a while back about this issue. I think the general feeling is as we use https the entire url is encrypted and we don't log the credentials in the backend.. so we're generally ok for the moment. We have no plans to change this in the near future. |
Hi @richard-cox and @nwmac! My team would encourage reviewing this issue again and planning a place for it in your backlog, as part of good "defense in depth" security practices. It's important to use the best practice of not embedding credentials in query strings, even if the system is not designed to actively log and monitor those query strings. This is because something could go wrong in a team's infrastructure or in another part of the system architecture that enables monitoring by an attacker or getting logged unexpectedly (which then could allow those logs to be reviewed by an attacker). Strong security practices can help enable use of Stratos in a broader range of environments, including regulated and audited environments. Happy to answer questions or provide more comments if helpful - thank you! |
Hi @brittag, thanks for commenting. We'll look into this in our next sprint (due to start next week) |
Frontend Deployment type
Backend (Jet Stream) Deployment type
Detailed Description
Logging into an endpoint (Navigating to
/endpoints
and selecting "register") passes the login credentials in the request query string. This could disclose the login credentials to third parties.Request URL:
Context
This is a security issue that could expose the user's credentials to third parties.
Possible Implementation
The login credentials used to login to Stratos correctly pass the credentials in the body of the request. Emulating this request would correctly secure the user's credentials.
Request URL:
Form data passed:
The text was updated successfully, but these errors were encountered: