This exploit achieves unauthenticated remote code execution against BeyondTrust Privileged Remote Access (PRA) and Remote Support (RS), with the privileges of the site user of the targeted BeyondTrust product site. This exploit targets PRA and RS versions 24.3.1 and below.
Linux,Unix
cmd
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/http/beyondtrust_pra_rs_unauth_rce
msf exploit(beyondtrust_pra_rs_unauth_rce) > show targets
...targets...
msf exploit(beyondtrust_pra_rs_unauth_rce) > set TARGET < target-id >
msf exploit(beyondtrust_pra_rs_unauth_rce) > show options
...show and set options...
msf exploit(beyondtrust_pra_rs_unauth_rce) > 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