Security concern – Groups overrides wp-config.php settings
-
Hi there,
I noticed that if you have the Groups setting, “Administrators override all access permissions derived from Groups capabilities” checked, Groups overrides this in wp-config.php:
define( 'DISALLOW_FILE_MODS', true );
This creates a security issue, since if the site owner wishes to disable file editing & Plugin installation from even WordPress administrators, all a WordPress administrator has to do is check that box to reenable his or her access to plugins & theme editing.
I tested this using WordPress 4.61 and Groups 1.13.1 on two different installations, including a vanilla WordPress install with only Groups plugin enabled and default 2016 theme.
Thanks!
- The topic ‘Security concern – Groups overrides wp-config.php settings’ is closed to new replies.