Skip to content
Commit 8752701b authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarGraham R <gr348@cam.ac.uk>
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 35df2ada
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment