Back to Security Advisories

Mitigation for Dirty Frag Linux local privilege escalation vulnerability

Mitigation for Dirty Frag Linux local privilege escalation vulnerability: Yes another local privilege escalation vulnerability was recently publicly announced - dirtyfrag.io. Mitigation does not require server reboot, only making sure kernel modules esp4, esp6 and rxrpc are disabled. Apply it through DirectAdmin's CustomBuild (da build / ./build update_versions) on every DA server running the affected component.

Critical
DirectAdmin

What this means under a SharedLicense license

DirectAdmin servers running the affected component are the exposure surface — patch via CustomBuild and restart the affected service.

Yes another local privilege escalation vulnerability was recently publicly announced – dirtyfrag.io.

Mitigation does not require server reboot, only making sure kernel modules esp4, esp6 and rxrpc are disabled.

: > /etc/modprobe.d/dirtyfrag.conf
echo 'install esp4 /bin/false' >> /etc/modprobe.d/dirtyfrag.conf
echo 'install esp6 /bin/false' >> /etc/modprobe.d/dirtyfrag.conf
echo 'install rxrpc /bin/false' >> /etc/modprobe.d/dirtyfrag.conf
rmmod esp4 esp6 rxrpc 2>/dev/null

Note: The esp4 and esp6 modules are used by IPSEC. If your server is using IPSEC unloading them will break the connections over IPSEC or unload operation will fail. Quick check to make sure modules are unloaded – command lsmod | grep -F -e esp4 -e esp6 -e rxrpc should return no results.

Frequently Asked Questions

What does this advisory cover?
Yes another local privilege escalation vulnerability was recently publicly announced - dirtyfrag.io. Mitigation does not require server reboot, only making sure kernel modules esp4, esp6 and rxrpc are disabled.
How do I apply the fix on DirectAdmin?
Update through CustomBuild: da build for the affected package (or ./build update_versions), then restart the service.
Is my SharedLicense license affected?
No — this is the server software, not licensing. Licenses keep working through the update.

Check your system for vulnerabilities

Select your product and operating system to see the exact fix commands that apply to you.

Check Your System