Collection of potential security issues in Jellyfin This is a non exhaustive list of potential security issues found in Jellyfin. Some of these might cause controversy. Some of these are design fla…

  • @anarchiddy@lemmy.dbzer0.com
    link
    fedilink
    English
    331 month ago

    I’m not sure who needs to hear this, but unless you work as a security engineer or in another security-focused tech field, you really shouldn’t be exposing your homelab to the open internet anyway

    Most people access their homelabs via VPN - i don’t see anything here that’s a problem for that use-case.

  • kratoz29
    link
    fedilink
    English
    301 month ago

    Huh, I can’t check the link right now… But if exposing Jellyfin to the Internet is not an option, then it is not ready to be shipped as the Plex replacement I have heard a lot here and on Reddit.

      • kratoz29
        link
        fedilink
        English
        31 month ago

        It is if you have compared them together.

        I haven’t recently thought and I am a lifetime Plex pass user (we will see what lifetime truly means sooner or later) and I have still been unaffected by most of the changes Plex has done (watch together is the 1st valuable feature that I have lost), so if you can’t expose Jellyfin then it is not better than Plex for me.

    • @t3rmit3@beehaw.org
      link
      fedilink
      5
      edit-2
      1 month ago

      Put the instance behind another authentication point like a VPN or reverse proxy with SSO. That will prevent the wider Internet from accessing it without legitimate users being cut off. You should be doing this with any server you operate (like Plex), but definitely one that may have legal implications.

      • @ReversalHatchery@beehaw.org
        link
        fedilink
        English
        41 month ago

        aaaand now you smart tv can’t connect. none of them. the clients dont even support http basic auth creds put into the URL for some crazy reason.

        for advanced HTTP-level authentication you would need to run a reverse proxy on the TV’s network that would add the authentication info. for the VPN idea you would need to tunnel the TV’s network’s internet connection at the router. or set up a gateway address in the TVs network settings that would do that. or use a reverse proxy here too so that it repeats the request to the real server.

        but honestly, this is the real and only secure way anyway. I wouldn’t be comfortable to expose jellyfin even if the devs are real experts. I mean vulns get discovered, in dotnet, jellyfin dependencies, linux filesystem, and reverse proxy, and honestly who has time to always tightly keep up to date with all that.

        that’s not to discount the seriousness of the issue though, it’s a real shame that jellyfin is so much against security

        • @t3rmit3@beehaw.org
          link
          fedilink
          4
          edit-2
          1 month ago

          Your smart TV is (presumably) on your local network, so you should be routing the requests locally (point the client at the local ip, assuming it didn’t autodiscover it) not through the VPN/ tunnel.

          • @ReversalHatchery@beehaw.org
            link
            fedilink
            English
            31 month ago

            Your smart TV is (presumably) on your local network

            often, but not always. sometimes the TV is at a different house, when you are a guest or at a second property

            • @t3rmit3@beehaw.org
              link
              fedilink
              1
              edit-2
              1 month ago

              In which case there are still ways to make it work, like putting in an SSO bypass rule for the IP of your other property. Point is, under no circumstances is it impossible to both have it be protected against scanning attacks like the ones described in the gh issue, and keep it available to use over the internet for authorized users.

      • kratoz29
        link
        fedilink
        English
        21 month ago

        I am sorry, I don’t think I follow, I am CGNATED anyway, so I need to use VPNs to access my server (if IPv6 is not available, for IPv4 I am experimenting with Tailscale funnels as of now).

    • P03 Locke
      link
      fedilink
      English
      41 month ago

      Agreed. I’m a bit disappointed that it’s being touted as such. If you need a local LAN option, use VLC Player.

  • @HappyTimeHarry@lemm.ee
    link
    fedilink
    English
    121 month ago

    If my server is already open to everyone, what kind of potential attacks do i need to be worried a about? I dont keep personal files on my streaming server, its just videos, music and isos/roms. I dont restrict sign ups, so the idea of an unauthorized user doing something like download a video is a non issue for me really.

    I do see where there could be problems for folks running jfin on the same server they keep private photos or for people who charge users for acess, but thats not me.

    Am i missing something or is the main result of most of these that a “malicious” actor could dowload files jellyfin has access to without authentication?

  • @ReversalHatchery@beehaw.org
    link
    fedilink
    English
    12
    edit-2
    1 month ago

    I remember when they were arguing that you don’t need a VPN or proxy basic authentication in front of it because their team knows how to write secure code…

  • @ipkpjersi@lemmy.ml
    link
    fedilink
    11
    edit-2
    1 month ago

    Many of these have already been fixed FWIW, it’s not a collection of open issues. Nevermind, they have only been closed, not fixed. Yikes.

  • Pete Hahnloser
    link
    fedilink
    English
    91 month ago

    Who has the technical wherewithal to run Jellyfin but leaves access on the open web? I get that sharing is part of the point, but no one’s putting their media collection on an open FTP server.

    The level of convenience people expect without consequences is astounding. Going to be away for home for a few days? Load stuff onto an external SSD or SD card. Phoning home remotely makes no sense.

    • @Kusimulkku@lemm.ee
      link
      fedilink
      71 month ago

      Friends, family using Jellyfin is the reason many have it directly available (and not behind VPN for example).

    • @jarfil@beehaw.org
      link
      fedilink
      11 month ago

      The typical guides for installing Jellyfin and friends, stop at the point where you can access the service, expecting you to secure it further.

      Turns out, the default configuration for many (most) routers, is to allow external access to anything a local service will request it to allow, expecting you to secure it further.

      Leaving it like that, is an explosive combo, which many users never intended to set up, but have nonetheless.

  • @GiuseppeAndTheYeti@midwest.social
    link
    fedilink
    English
    91 month ago

    Can someone ELI5 this for me? I have a jellyfin docker stack set up through dockstarter and managed through portainer. I also own a domain that uses cloudflare to access my Jellyfin server. Since everything is set up through docker, the containers volumes are globally set to only have access to my media storage. Assuming that my setup is insecure, wouldn’t that just mean that “hackers” would only be able to stream free media from my server?

  • 𝓔𝓶𝓶𝓲𝓮
    link
    fedilink
    2
    edit-2
    1 month ago

    I think you can IP whitelist who can access it no? That should solve any problems

    There is zero (0) chance of an attacker to know and then spoof address of your friend unless you have even bigger problems. Good filter should simply not respond to any packets making very existence of exploitable site undetectable.

    • Scary le PooOP
      link
      fedilink
      31 month ago

      Does your friend have a static IP? Unlikely considering that you have to pay extra for a static IP.

      • @BCsven@lemmy.ca
        link
        fedilink
        11 month ago

        We are lucky, we get two free. Technically they aren’t true static, its tied to MAC of your modem, or your router(s) – with ISP modem in bridge mode. You can pay for true static, but I have probably had the same IP for 5 years, and same with the modem/routerbeforre this one.

    • @jherazob@beehaw.org
      link
      fedilink
      English
      31 month ago

      Wrong use case, the expected one is friends and family watching stuff on your Jellyfin server from different homes, potentially through mobile, all with dynamic IPs