MODULE

Roundcube ≤ 1.6.10 Post-Auth RCE via PHP Object Deserialization

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

Roundcube ≤ 1.6.10 Post-Auth RCE via PHP Object Deserialization

Disclosed
06/02/2025
Created
06/11/2025

Description

Roundcube Webmail before 1.5.10 and 1.6.x before 1.6.11 allows remote code execution by authenticated users because the _from parameter in a URL is not validated in program/actions/settings/upload.php, leading to PHP Object Deserialization. An attacker can execute arbitrary system commands as the web server.

Author(s)

  • Maksim Rogov
  • Kirill Firsov

Platform

Linux,Unix

Development

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 exploit/multi/http/roundcube_auth_rce_cve_2025_49113
msf exploit(roundcube_auth_rce_cve_2025_49113) > show targets
    ...targets...
msf exploit(roundcube_auth_rce_cve_2025_49113) > set TARGET < target-id >
msf exploit(roundcube_auth_rce_cve_2025_49113) > show options
    ...show and set options...
msf exploit(roundcube_auth_rce_cve_2025_49113) > 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

;