twiddle.sh in JBoss AS 5.0 and EAP 5.0 and earlier accepts credentials as command-line arguments, which allows local users to read the credentials by listing the process and its arguments.
https://issues.jboss.org/browse/JBPAPP-3391?_sscc=t
http://www.openwall.com/lists/oss-security/2012/07/23/2
http://www.openwall.com/lists/oss-security/2012/07/20/1
http://secunia.com/advisories/52054
http://secunia.com/advisories/51984
http://rhn.redhat.com/errata/RHSA-2013-0533.html
http://rhn.redhat.com/errata/RHSA-2013-0221.html
http://rhn.redhat.com/errata/RHSA-2013-0198.html
http://rhn.redhat.com/errata/RHSA-2013-0197.html
http://rhn.redhat.com/errata/RHSA-2013-0196.html
http://rhn.redhat.com/errata/RHSA-2013-0195.html
http://rhn.redhat.com/errata/RHSA-2013-0194.html
http://rhn.redhat.com/errata/RHSA-2013-0193.html
http://rhn.redhat.com/errata/RHSA-2013-0192.html
http://rhn.redhat.com/errata/RHSA-2013-0191.html
http://objectopia.com/2009/10/01/securing-jmx-invoker-layer-in-jboss/