[04/20] Core Update 157: Delete ssh-keysign binary

Message ID 6a4b79d4-6fdd-612f-36d4-e7614f1164be@ipfire.org
State Accepted
Commit 09a2001d49c185e8b803c9aa2d6887da31e7eb6d
Headers
Series Prevent "nobody" from escalating privileges by using writeable binaries as a vehicle |

Commit Message

Peter Müller May 17, 2021, 7:02 p.m. UTC
  Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 config/rootfiles/core/157/update.sh | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

diff --git a/config/rootfiles/core/157/update.sh b/config/rootfiles/core/157/update.sh
index 322e2ada2..0f4c76346 100644
--- a/config/rootfiles/core/157/update.sh
+++ b/config/rootfiles/core/157/update.sh
@@ -106,6 +106,9 @@  ldconfig
 # Fix file permissions changed
 chmod -s /usr/bin/gpg
 
+# Delete scrubbed files
+rm -f /usr/lib/openssh/ssh-keysign
+
 # Start services
 /etc/init.d/sshd restart
 /etc/init.d/apache restart