The getRenderedEjbql method in the org.jboss.seam.framework.Query class in JBoss Seam 2.x before 2.0.0.CR3 allows remote attackers to inject and execute arbitrary EJBQL commands via the order parameter.
http://www.vupen.com/english/advisories/2007/4215
http://www.securityfocus.com/bid/26850
http://www.redhat.com/support/errata/RHSA-2008-0213.html
http://www.redhat.com/support/errata/RHSA-2008-0158.html
http://www.redhat.com/support/errata/RHSA-2008-0151.html
http://sourceforge.net/project/shownotes.php?release_id=549490&group_id=22866