Jo-Philipp Wich 2360ebc2e8 luci-base: sys: prevent path traversal via sys.init routines
Filter the init script name parameter through fs.basename() to avoid
invoking paths outside of /etc/init.d/.

Reported-by: Graham R <gr348@cam.ac.uk>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 8752701b0d01a81d0bd0a735be733f24ad11ab69)
2022-01-19 16:34:07 +01:00
..
2021-10-28 21:29:56 +03:00
2015-01-16 23:38:38 +01:00
2015-01-16 23:38:38 +01:00