From b6986eb2cb3f4c2a7236ce7b82b905667b64358e Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Thu, 15 Oct 2026 10:33:08 +0200 Subject: [PATCH] =?UTF-8?q?Plex:=20claim=20code=20required=20again=20for?= =?UTF-8?q?=20controllers=20before=200.313.0=20(after=5Fstart=20for=200.31?= =?UTF-8?q?3.0)=20=E2=80=94=20fail-open=20found=20by=20a=20security=20revi?= =?UTF-8?q?ew=20of=200188430=20(R-1045)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS --- CHANGELOG.md | 8 ++++++++ scripts/copy_freeze/hu.json | 4 ++-- templates/plex/.felhom.yml | 13 +++++++------ 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d1ebe1..ab6089d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 2026-10-15 — Plex: the claim code is required again for controllers before 0.313.0 (R-1045, a security review) + +- A background security review of `0188430` found a fail-open: the claim code had been made optional for EVERY + controller, so on a box still running 0.311/0.312 a household could skip it and its „Kész" would open an UNCLAIMED + Plex (open to anyone through the tunnel). `PLEX_CLAIM` is `required: true` again, with `after_start: true`: controller + 0.313.0 does not ask it in the wizard (it asks on the Plex page once Plex runs); an older controller ignores the key + and asks it at install exactly as before this week. Description back to the original; copy freeze re-admitted. + ## 2026-10-15 — media apps on every drive: the `media_library` marker; Plex without the 4-minute race (R-1023, R-1028) Needs controller **0.313.0** to take effect; an older controller ignores every new key (non-strict YAML) and runs the diff --git a/scripts/copy_freeze/hu.json b/scripts/copy_freeze/hu.json index 2b8ef99..42ffdea 100644 --- a/scripts/copy_freeze/hu.json +++ b/scripts/copy_freeze/hu.json @@ -952,7 +952,7 @@ "deploy_fields[HDD_PATH].description": "A külső merevlemez elérési útja", "deploy_fields[HDD_PATH].label": "Médiatár útvonal", "deploy_fields[HDD_PATH].placeholder": "/mnt/felhom-drives/hdd_1", - "deploy_fields[PLEX_CLAIM].description": "Nem kötelező. Telepítés után az alkalmazás oldalán add meg (https://plex.tv/claim, 4 percig érvényes)", + "deploy_fields[PLEX_CLAIM].description": "Generáld a https://plex.tv/claim oldalon (4 percig érvényes)", "deploy_fields[PLEX_CLAIM].label": "Plex Claim Token", "deploy_fields[PLEX_CLAIM].placeholder": "claim-xxxxxxxxxxxx", "deploy_fields[SUBDOMAIN].description": "Az alkalmazás aldomainje", @@ -1441,7 +1441,7 @@ "metube": "new app 2026-10-02 (family gate); Hungarian reviewed: informal te, no kerjuk (ASCII scan with a positive control)", "nzbget": "Usenet downloader, the light client of the pair (R-988); Hungarian written 2026-10-12 and reviewed in this session", "papra": "R-593 (2026-10-05): deliberate Hungarian rewrite, not a translation — AUTH_SECRET carried SUBDOMAIN's sentence 'Az alkalmazás aldomainje' (copy-paste one field too low); the sentence moved to SUBDOMAIN and AUTH_SECRET got its own: 'A bejelentkezéseket aláíró titkos kulcs (automatikusan generált)'", - "plex": "2026-10-15 (R-1028): the code is asked on the Plex page after the install, not at install — first_steps say so (hu + en twins), the claim field is optional and says so; the step „Kapcsold össze…” dropped (the page's claim does it)", + "plex": "2026-10-15 (R-1045, security review of 0188430): the claim field is REQUIRED again for controllers before 0.313.0 — its description back to the original; after_start makes 0.313.0 ask it on the Plex page", "qbittorrent": "New app 2026-10-12 (operator ruling: the catalog needs a download client - radarr/sonarr/seerr had none). Hungarian written with the voice the website switched to the same day; English twin complete at 23/23.", "radicale": "new app 2026-10-01 through NEW-APP-CHECKLIST.md: te-form, no kérjük; reviewed by CC against the operator rules", "sabnzbd": "Usenet downloader, the full client of the pair the operator asked for (R-988); Hungarian written 2026-10-12 and reviewed in this session", diff --git a/templates/plex/.felhom.yml b/templates/plex/.felhom.yml index e3f82fc..03755b0 100644 --- a/templates/plex/.felhom.yml +++ b/templates/plex/.felhom.yml @@ -47,15 +47,16 @@ deploy_fields: locked_after_deploy: true description: "Az alkalmazás aldomainje" - # R-1028: NOT asked at install any more — a code that ran out during the image pull left an unclaimed server. A - # controller >= 0.313.0 asks for it on the Plex page once Plex runs. An older controller still offers the field - # (optional): left empty, the household claims Plex through Plex's own page while the setup gate keeps strangers out. + # R-1028/R-1045: REQUIRED for a controller before 0.313.0 (it asks it at install, as always — an optional code would let + # its „Kész" open an unclaimed Plex). `after_start`: controller 0.313.0 does not ask it here; it asks it on the Plex + # page once Plex runs (no 4-minute race) and opens the gate only when Plex says claimed. - env_var: PLEX_CLAIM label: "Plex Claim Token" type: text - required: false + required: true + after_start: true placeholder: "claim-xxxxxxxxxxxx" - description: "Nem kötelező. Telepítés után az alkalmazás oldalán add meg (https://plex.tv/claim, 4 percig érvényes)" + description: "Generáld a https://plex.tv/claim oldalon (4 percig érvényes)" locked_after_deploy: true - env_var: HDD_PATH @@ -149,5 +150,5 @@ i18n: placeholder: '/mnt/felhom-drives/hdd_1' - env_var: PLEX_CLAIM label: 'Plex Claim Token' - description: 'Optional. Enter it on the app page after the install (https://plex.tv/claim, valid for 4 minutes)' + description: 'Generate it at https://plex.tv/claim (it is valid for 4 minutes)' placeholder: 'claim-xxxxxxxxxxxx'