-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Hi,
by developing the PR in #157 we tried to think whether this will introduce a security problem. During the discussion we noticed the authorization header will be added to every url - to any host.
So what happens when I send a link https://dbsystel.github.io/trivy-vulnerability-explorer/?url=<my-evil-site-where-i-capture-the-auth-headers> to a browser with saved authorization headers? Havn't tried yet but from the code it could work...
A solution might be to also configure a server or domain name for the authorization header - and only add the header when the host / domain of the url matches the configuration.
It might be i'm missed something - then just drop this issue. When this is real - sorry for the bad timing :-/
Bye,
Chris
Metadata
Metadata
Assignees
Labels
No labels