Open kuba-orlik opened 1 year ago
When you use the Redirect app to proxy to some remote application, that remote application gets to know the password of the currently logged-in user.
1.0.2~ynh1
http://127.0.0.1:8080
nc -l -p 8080
The output should not contain the user's SSO password
The output include various pieces of information about the user, including their SSO password, unencrypted:
# nc -l -p 8081 GET / HTTP/1.1 Host: <redacted> X-Real-IP: <redacted> X-Forwarded-Proto: https X-Forwarded-For: X-Forwarded-Host: <redacted> X-Forwarded-Port: 443 Connection: upgrade user-agent: <redacted> accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 accept-language: en referer: <redacted> dnt: 1 upgrade-insecure-requests: 1 sec-fetch-dest: document sec-fetch-mode: navigate sec-fetch-site: same-site sec-fetch-user: ?1 cookie: SSOwAuthUser=kuba; SSOwAuthHash=<redacted>; SSOwAuthExpire=<redacted> Authorization: Basic <redacted !!! here's the password in base64> Remote-User: <redacted> Email: <redacted !! user email> Name: <redacted !! full user name> Auth-User: <redacted !! username>
Describe the bug
When you use the Redirect app to proxy to some remote application, that remote application gets to know the password of the currently logged-in user.
Context
1.0.2~ynh1
Steps to reproduce
http://127.0.0.1:8080
, setting it as private proxync -l -p 8080
on the serverExpected behavior
The output should not contain the user's SSO password
Actual behavior
The output include various pieces of information about the user, including their SSO password, unencrypted: