Rapid7 Vulnerability & Exploit Database

JBoss Seam 2 Remote Command Execution

Back to Search

JBoss Seam 2 Remote Command Execution



JBoss Seam 2 (jboss-seam2), as used in JBoss Enterprise Application Platform 4.3.0 for Red Hat Linux, does not properly sanitize inputs for JBoss Expression Language (EL) expressions, which allows remote attackers to execute arbitrary code via a crafted URL. This modules also has been tested successfully against IBM WebSphere 6.1 running on iSeries. NOTE: this is only a vulnerability when the Java Security Manager is not properly configured.


  • guerrino di massa
  • Cristiano Maruti <cmaruti@gmail.com>


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/admin/http/jboss_seam_exec
msf auxiliary(jboss_seam_exec) > show actions
msf auxiliary(jboss_seam_exec) > set ACTION < action-name >
msf auxiliary(jboss_seam_exec) > show options
    ...show and set options...
msf auxiliary(jboss_seam_exec) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security