Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Auth bypass #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Auth bypass #46

wants to merge 1 commit into from

Conversation

m4rg4sh
Copy link

@m4rg4sh m4rg4sh commented Jan 21, 2023

Hi,

I noticed that your service definition includes an auth bypass vulnerability.
By exposing the backend service ports in your compose file it is possible to bypass the reverse proxy which in turn allows anyone to bypass the authentication layer you've set up.
For example I assume you meant for radarr to only be available via radarr.example.org. However by default the service is also available via example.org:7878 without any authentication.

In this PR I've removed most of the port exposures except for tcp/32400 since plex uses their own authentication layer. While it can be routed through traefik it is not necessary. I'm not sure about the other ports but in my experience tcp/32400 is the only one needed for it to work.
As far as my tests go this doesn't break any functionality of the app but I'm not running all of the services myself, so feel free to dive a little deeper :)

Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant