mirror of
https://github.com/safing/portmaster.git
synced 2026-12-04 01:16:28 +00:00
f943e1eaf9
Issue: The updates/from-url endpoint was registered with PermitAnyone, so any local process could call it without authentication. Its handler passed the request body as an index URL to UpdateFromURL, which ran the update with the version checks and the auto-download/auto-apply settings bypassed. Signatures were still verified, but a caller could point Portmaster at a copy of any older signed index and have it installed without asking the user, e.g. to bring back a version with an already fixed vulnerability. Change: - Remove the endpoint. It was left over from an unfinished feature and nothing (UI, tray app, scripts) calls it. - Remove Updater.UpdateFromURL, which had no other callers. ForceUpdate is unchanged: it is only used by the command line tools and always uses the configured index URLs. Fixes #2292