A flaw was found in NetworkManager. This local privilege escalation vulnerability exists in NetworkManager's dhclient backend when processing malformed Manufacturer Usage Description (MUD) URLs. A local user can exploit this flaw to escalate privileges by triggering a script via a crafted MUD URL, provided an administrator has explicitly configured NetworkManager to use dhclient. This issue does not affect default configurations of NetworkManager.
CVE-2026-10805 is a local privilege escalation vulnerability in NetworkManager's dhclient backend affecting systems with non-default MUD URL configurations. With a CVSS score of 6.7, this CWE-78 command injection flaw requires local access and explicit administrator configuration to exploit. While no public exploit exists and patches are unavailable, organizations using dhclient with MUD support face moderate risk requiring immediate compensating controls.
Immediate Actions:
1. Audit all Linux systems running NetworkManager to identify those using dhclient backend: `nmcli -t -f TYPE,DEVICE con show | grep ethernet`
2. Verify MUD URL configuration status: `grep -r 'mud' /etc/NetworkManager/` and check dhclient configuration files
3. Restrict local user access on affected systems using SELinux or AppArmor policies
4. Disable MUD URL processing if not operationally required
Compensating Controls (until patch available):
1. Implement strict file permissions on dhclient scripts: `chmod 700 /etc/dhcp/dhclient-exit-hooks.d/`
2. Deploy SELinux policy to restrict dhclient script execution context
3. Monitor for suspicious MUD URL patterns in NetworkManager logs: `journalctl -u NetworkManager | grep -i mud`
4. Implement local privilege escalation detection rules monitoring for unexpected privilege transitions from dhclient processes
5. Use AppArmor to confine dhclient process capabilities
Detection Rules:
1. Monitor for dhclient process spawning shell interpreters (bash, sh, python)
2. Alert on MUD URL parameters containing shell metacharacters (|, ;, &, $, backticks)
3. Track privilege escalation attempts from dhclient UID to root
4. Monitor /etc/dhcp/ directory for unauthorized modifications
الإجراءات الفورية:
1. تدقيق جميع أنظمة Linux التي تشغل NetworkManager لتحديد تلك التي تستخدم واجهة dhclient: `nmcli -t -f TYPE,DEVICE con show | grep ethernet`
2. التحقق من حالة تكوين MUD URL: `grep -r 'mud' /etc/NetworkManager/` والتحقق من ملفات تكوين dhclient
3. تقييد وصول المستخدمين المحليين على الأنظمة المتأثرة باستخدام سياسات SELinux أو AppArmor
4. تعطيل معالجة MUD URL إذا لم تكن مطلوبة تشغيليًا
الضوابط التعويضية (حتى توفر التصحيح):
1. تنفيذ أذونات ملفات صارمة على نصوص dhclient: `chmod 700 /etc/dhcp/dhclient-exit-hooks.d/`
2. نشر سياسة SELinux لتقييد سياق تنفيذ نصوص dhclient
3. مراقبة أنماط MUD URL المريبة في سجلات NetworkManager: `journalctl -u NetworkManager | grep -i mud`
4. تنفيذ قواعد كشف تصعيد الامتيازات المحلية لمراقبة انتقالات الامتيازات غير المتوقعة من عمليات dhclient
5. استخدام AppArmor لحصر قدرات عملية dhclient
قواعد الكشف:
1. مراقبة عملية dhclient التي تولد مفسرات shell (bash, sh, python)
2. تنبيه على معاملات MUD URL التي تحتوي على أحرف shell metacharacters (|, ;, &, $, backticks)
3. تتبع محاولات تصعيد الامتيازات من UID dhclient إلى root
4. مراقبة دليل /etc/dhcp/ للتعديلات غير المصرح بها