It was discovered that EAP packages in certain versions of Red Hat Enterprise Linux use incorrect permissions for /etc/sysconfig/jbossas configuration files. The file is writable to jboss group (root:jboss, 664). On systems using classic /etc/init.d init scripts (i.e. on Red Hat Enterprise Linux 6 and earlier), the file is sourced by the jboss init script and its content executed with root privileges when jboss service is started, stopped, or restarted.
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8657
https://access.redhat.com/errata/RHSA-2018:1609
http://www.securityfocus.com/bid/96896
http://rhn.redhat.com/errata/RHSA-2017-0829.html
http://rhn.redhat.com/errata/RHSA-2017-0828.html