opnsense-src/usr.sbin/bsdinstall
Renato Botelho e13b3978d0 bsdinstall: Avoid invoking eval on the wlan SSID list
The wlanconfig utility is not careful about handling untrusted network
names, which can contain shell metacharacters.  Factor network selection
into a subroutine and use the `set -- "$@"` trick to build up a list of
positional parameters for bsddialog without evaluating them.

Approved by:	so
Security:	FreeBSD-SA-26:23.bsdinstall
Security:	CVE-2026-45255
Reported by:	Austin Ralls
Reviewed by:	dteske, des, asiciliano
Differential Revision:	https://reviews.freebsd.org/D56973
2026-05-21 07:32:56 +02:00
..
distextract Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
distfetch bsdinstall: Consistently use item count as the first argument to calloc 2024-11-30 08:55:58 -05:00
partedit partedit: make minimum FreeBSD install size just under 1 GiB 2025-11-20 12:16:30 -05:00
runconsoles bsdinstall: Add a new runconsoles helper binary 2022-10-03 17:09:16 +01:00
scripts bsdinstall: Avoid invoking eval on the wlan SSID list 2026-05-21 07:32:56 +02:00
bsdinstall Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
bsdinstall.8 bsdinstall.8: Minor maintenance 2026-02-18 13:13:17 +01:00
Makefile bsdinstall: react to WORKAROUND_HYBRID to force UEFI install on BIOS boot 2025-07-09 10:05:47 +02:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Add a bsdinstall package 2015-03-18 12:28:17 +00:00
startbsdinstall bsdinstall: rename "Live CD" to "Live System" 2024-01-07 14:31:10 -05:00