The IronJacamar container before 1.0.12.Final for JBoss Application Server, when allow-multiple-users is enabled in conjunction with a security domain, does not use the credentials supplied in a getConnection function call, which allows remote attackers to obtain access to an arbitrary datasource connection in opportunistic circumstances via an invalid connection attempt.
https://issues.jboss.org/secure/ReleaseNote.jspa?projectId=12310691&version=12319522
https://issues.jboss.org/browse/JBPAPP-9584
https://issues.jboss.org/browse/JBJCA-864
https://bugzilla.redhat.com/show_bug.cgi?id=843358
http://secunia.com/advisories/51607
http://rhn.redhat.com/errata/RHSA-2012-1594.html