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.
Exploitability
AV:LAC:LAu:NImpact
C:PI:NA:N2.1/AV:L/AC:L/Au:N/C:P/I:N/A:N