Description
Safing Portmaster before 2.2.5 contains a missing authorization vulnerability that allows unprivileged local processes to force updates by calling the POST /api/v1/updates/from-url endpoint registered with api.PermitAnyone. Attackers can supply an attacker-controlled index URL that bypasses version checks and auto-apply settings, installing older Safing-signed releases carrying previously fixed vulnerabilities.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| safing | portmaster | < 2.2.5 | 2.2.5 |
References
- https://github.com/safing/portmaster/issues/2292 issue-tracking
- https://github.com/safing/portmaster/blob/v2.2.3/service/core/api.go#L145-L159 technical-description
- https://github.com/safing/portmaster/commit/f943e1eaf98f45bc48490bf288e1d63c04929ae0 patch
- portmaster v2.2.5 Release Notes release-notes
- VulnCheck Advisory: Safing Portmaster before 2.2.5 Unauthenticated Forced Downgrade via /api/v1/updates/from-url third-party-advisory