Fix vtysh shell-ingestion security issue (#7991)
Fix vtysh shell-ingestion security issue Only expose the limited parameters of the command vtysh show.
This commit is contained in:
parent
76bef999fd
commit
a7725e6480
@ -33,7 +33,9 @@ Cmnd_Alias READ_ONLY_CMDS = /sbin/brctl show, \
|
||||
/usr/bin/sfputil show *, \
|
||||
/usr/bin/teamshow, \
|
||||
/usr/bin/rvtysh *, \
|
||||
/usr/bin/vtysh -c show *, \
|
||||
/usr/bin/vtysh -c show version, \
|
||||
/usr/bin/vtysh -c show bgp ipv[46] summary json, \
|
||||
/usr/bin/vtysh -n [0-9] -c show version, \
|
||||
/bin/cat /var/log/syslog*, \
|
||||
/usr/bin/tail -F /var/log/syslog
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 72510da2ff97d4fbf3cb2ac4e79c866677fc48ae
|
||||
Subproject commit c235153025a2d35188bb5fbeb18a5ac78742c275
|
Loading…
Reference in New Issue
Block a user