Was gonna post the exact same thingWell, it's changed to "auditd" now.
Hi,I think we're at 10 shutdowns and counting this morning.
Also roundcube shipping with 10.1.0 have an RCE so it need to be updated.RewriteEngine on
RewriteRule ^api/([^/\.]+)/?$ bin/api.php?m=$1 [L]
RewriteRule ^apps/([^/\.]+)/?$ etc/apps/$1 [L]
RewriteRule ^(etc/tmp|etc/zppy-cache|/etc/lib/pChart2/cache|etc/build) - [F,L,NC]
# - deny access to some locations
RewriteRule ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|program\/(include|lib|localization|steps)) - [F]
# - deny access to some documentation files
RewriteRule /?(README\.md|composer\.json-dist|composer\.json|package\.xml)$ - [F]
Great hack but I can provide you with paths to delete if you want.#!/bin/bash
containers=$(ls /vz/private/)
for CTID in $containers
do
if [ -d /vz/private/$CTID/etc/zpanel/ ]; then
echo "VM: $CTID running zPanel"
# avoid too many arguments error
MOUNTED=$(vzctl exec $CTID cat /proc/mounts | grep /tmp)
if [ -z "$MOUNTED" ]; then
echo "VM ID: $CTID is running zpanel and tmp is not secured. Wanna secure it? (y/n)"
read ANSWER
if [ $ANSWER == "y" ]; then
echo "Done on VM ID: $CTID"
vzctl exec $CTID rm -rf /tmp
vzctl exec $CTID mkdir -p /tmp
vzctl exec $CTID echo none /tmp tmpfs nodev,nosuid,noexec 0 0 >> /etc/fstab
vzctl exec $CTID mount /tmp
fi
fi
fi
done
Run on the nodes and done! No need to suspend those poor bastards!
Credits goes to @Zen
Just woke up to about 20 or so containers running the lovely auditd .ICE-unixx.Changed again....
"pxinit"
exe -> (deleted)/dev/shm/40A/work/pxinit
BUT it's already fixed since month's !! this affect the old release. You always react like we don't issue patches.Or... just fix it.