Servers and applications
GHSA-f35q-c34m-pfw3
Unquoted PPP password in mpd_*.conf allows root command execution (incomplete fix of CVE-2026-57154)
- Severity
- High 7.2
- Published
- 11 Nov 2026
- Last changed
- 11 Nov 2026
- Added to UpHeron
- 11 Nov 2026
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- Sources
- Project advisories (GitHub)
Description
The PPP password is not checked for line breaks. OPNsense writes it into the mpd5 configuration file /var/etc/mpd_.conf without quotes (src/etc/inc/interfaces.inc, line 1273), so each line break in the password starts a new line in the file, and a user with only the privilege 'Interfaces: PPPs: Edit' can inject arbitrary mpd5 directives. The directive set iface up-script is only accepted by mpd5 in bundle context, so the payload injects create bundle static ... (accepted in any context), sets the up-script on that bundle, then creates a link bound to that bundle and opens it. mpd5 runs the up-script as a root shell command when that link's IPCP comes up: arbitrary command execution as root
Scope is сhanged because mpd5 runs as root, outside the web application. The fix for GHSA-fq94-cxvc-9r7w (CVE-2026-57154) touched this page but added only a username check; the password field was left unchecked, so releases carrying that fix are still affected.
Affected software
| Software | Affected versions |
|---|---|
OPNsenseServers and applications · github:opnsense/core |
|
References
- GitHub Advisory Database https://github.com/advisories/GHSA-f35q-c34m-pfw3
- github.com https://github.com/opnsense/core/security/advisories/GHSA-f35q-c34m-pfw3