FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

openvpn-devel -- script injection vulnerability from trusted but malicious server

Affected packages
g20250629,1 <= openvpn-devel < g20250925,1

Details

VuXML ID e5cf9f44-9a64-11f0-8241-93c889bb8de1
Discovery 2025-09-24
Entry 2025-09-25

Gert Doering reports:

Notable changes beta1 -> beta2 are: [...] add proper input sanitation to DNS strings to prevent an attack coming from a trusted-but-malicous OpenVPN server (CVE: 2025-10680, affects unixoid systems with --dns-updown scripts and windows using the built-in powershell call)

Lev Stipakov writes:

On Linux (and similar platforms), those options are written to a tmp file, which is later sourced by a script running as root. Since options are controlled by the server, it is possible for a malicious server to execute script injection attack [...].

The original report is credited to Stanislav Fort <disclosure@aisle.com>.

References

CVE Name CVE-2025-10680
URL https://github.com/OpenVPN/openvpn/commit/0fb5a00549be6b065f9a4d61940ee06786d9fa61
URL https://github.com/OpenVPN/openvpn/commit/3a66045b407321c9d1c096227db164df3955ab40