This module exploits an unauthenticated remote code execution exploit chain for Ivanti EPMM, tracked as CVE-2025-4427 and CVE-2025-4428. An authentication flaw permits unauthenticated access to an administrator web API endpoint, which allows for code execution via expression language injection. This module executes in the context of the 'tomcat' user. This module should also work on many versions of MobileIron Core (rebranded as Ivanti EPMM).
Python
python
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/ivanti_epmm_rce_cve_2025_4427_4428
msf exploit(ivanti_epmm_rce_cve_2025_4427_4428) > show targets
...targets...
msf exploit(ivanti_epmm_rce_cve_2025_4427_4428) > set TARGET < target-id >
msf exploit(ivanti_epmm_rce_cve_2025_4427_4428) > show options
...show and set options...
msf exploit(ivanti_epmm_rce_cve_2025_4427_4428) > 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