This module exploits an OGNL injection vulnerability in Apache Roller < 5.0.2. The vulnerability is due to an OGNL injection on the UIAction controller because of an insecure usage of the ActionSupport.getText method. This module has been tested successfully on Apache Roller 5.0.1 on Ubuntu 10.04.
Java
java
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/multi/http/apache_roller_ognl_injection
msf exploit(apache_roller_ognl_injection) > show targets
...targets...
msf exploit(apache_roller_ognl_injection) > set TARGET < target-id >
msf exploit(apache_roller_ognl_injection) > show options
...show and set options...
msf exploit(apache_roller_ognl_injection) > exploit
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