# CVE-2025-4427: Ivanti EPMM API auth bypass, chained for unauthenticated RCE

An authentication bypass in the EPMM API that attackers chain with CVE-2025-4428 for code execution without a login. Exploited as a zero-day, then by a China-nexus group; a public proof of concept exists.

- Vendor: Ivanti, Endpoint Manager Mobile (EPMM) API
- Severity: MEDIUM (CVSS 3.1 5.3)
- Exploited (CISA KEV): yes, added 2025-05-19
- EPSS: 99.9% on 2026-12-02
- Public exploit: yes
- Patch available: yes
- Vendor advisory: https://forums.ivanti.com/s/article/Security-Advisory-Ivanti-Endpoint-Manager-Mobile-EPMM
- Published: 2025-05-13; updated: 2026-10-18
- Page: https://patchtonight.com/cve/CVE-2025-4427/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| EPMM 12.5.0.0 and prior | 12.5.0.1 or later |
| EPMM 12.4.0.1 and prior | 12.4.0.2 or later |
| EPMM 12.3.0.1 and prior | 12.3.0.2 or later |
| EPMM 11.12.0.4 and prior | 11.12.0.5 or later |

## What it is

CVE-2025-4427 is an **authentication bypass in the EPMM API**. It is half of an exploit chain. The other half is CVE-2025-4428, an Expression Language (EL) injection in the same endpoint. Alone, 4427 is rated medium (CVSS 5.3), but **chained they give unauthenticated code execution** on the appliance. Treat them as critical.

watchTowr found that the vulnerable `/mifs/rs/api/v2/featureusage` endpoint runs its input validator before authentication is enforced. A request with a `format` parameter reaches the validator, which puts the value in an error message that Spring evaluates as EL. A request without it returns 401. watchTowr calls this an order-of-operations flaw rather than a classic bypass, and disputes Ivanti's view that the cause lies in third-party libraries (CERT-EU).

Ivanti disclosed both as **zero-days** exploited against a very limited number of customers. watchTowr published a proof of concept two days later. CISA added the CVE to the KEV catalog on 2025-05-19; the catalog lists ransomware use as unknown. EclecticIQ attributes the attacks it analysed to a China-nexus espionage group. Victims included healthcare, telecom, aviation, municipal government, finance and defence organisations. After exploitation, the attackers:

- Ran Sliver via KrustyLoader, set up a reverse proxy (FRP) and scanned the internal network (EclecticIQ).
- Dumped LDAP configuration, LDAP users and device tables from the EPMM database using credentials in `/mi/files/system/.mifpp` (EclecticIQ).
- Installed malicious Tomcat listeners that run attacker code on request. CISA analysed two sets in a report published in September 2025.

## Am I affected?

You're affected if you run **on-premises EPMM at or below** one of these versions and haven't applied the fix:

- 12.5.0.0
- 12.4.0.1
- 12.3.0.1
- 11.12.0.4

The CVE record lists 12.5.0.1 as unaffected. The attacker must be able to reach the EPMM API, so internet-facing appliances are the priority.

The sources I could open don't name other affected Ivanti products. Check Ivanti's advisory for any product not listed here.

## What to do

1. **Upgrade** to 11.12.0.5, 12.3.0.2, 12.4.0.2, 12.5.0.1 or later. Rapid7 advises doing it as an emergency change, outside the normal patch cycle. Start with internet-facing appliances.
2. **If you can't upgrade tonight**, restrict access to the API. CERT-EU, summarising Ivanti's advice, says to use the built-in Portal ACLs or an external WAF. Wiz suggests blocking `/rs/api/v2/*` and `/mifs/rs/api/v2/*` until you patch. Test first, because mobile clients may depend on some of these paths. Ivanti can also provide an RPM hot-fix through a support case (CERT-EU).
3. **Assume compromise if the appliance was exposed and unpatched** since 2025-05-13. Patching doesn't remove persistence already in place (EclecticIQ).
   - Hunt using the Detection section, preferably with a copy of the logs held off the appliance.
   - If you find signs of compromise, don't clean in place. Rebuild from a known-good state and involve Ivanti support.
   - Rotate every secret the appliance held: the LDAP bind account, MySQL credentials, admin and service accounts, and Office 365 tokens (EclecticIQ).
   - Check systems reachable from the appliance for reconnaissance and lateral movement.
4. Treat MDM as a high-value asset: restrict who can reach it and monitor it (CISA).

## Detection

**Web logs** (Tomcat access logs under `/mi/tomcat/logs/`, EclecticIQ):

- Requests to `/mifs/rs/api/v2/featureusage` or `/mifs/rs/api/v2/featureusage_history` where `format` is anything other than `csv` or `json` (CERT-EU).
- `format=` values containing EL such as `${...}`, `Runtime`, `getRuntime` or `exec` (Wiz).
- EclecticIQ's regex for command execution: `format=.*?exec(?:%28|\()(['"]|%27)(.+?)\1`.
- CISA's listeners respond to GET requests to `/mifs/rs/api/v2/` with a `format` parameter. One checks for a `Referer` of `https://www.live.com`; the other for a `password` parameter.
- Direct reverse shells don't show in HTTP logs (Wiz), so also check host and network telemetry.

**On the appliance:**

- The files and hashes in the indicators section, including `web-install.jar` in `/tmp` and the JSP files in `/mi/tomcat/webapps/mifs/`.
- New files in `/tmp` and `/var/tmp` created by Tomcat or Java, and odd `.jpg` files in `/mi/tomcat/webapps/mifs/images/` (EclecticIQ).
- CISA's YARA and SIGMA rules from AR25-261A.

**Network and database:**

- Outbound connections from the appliance to the addresses above, and downloads from the listed S3 buckets with `wget`, `curl` or `fetch`.
- Unexpected MySQL access to the `mifs` database, in particular the `mifs_ldap_server_config`, `mifs_ldap_users` and `mi_user` tables (Wiz), or `mysqldump` runs.

## Sources

- [CVE record for CVE-2025-4427 (lists the Ivanti advisory)](https://cveawg.mitre.org/api/cve/CVE-2025-4427)
- [CERT-EU Security Advisory 2025-018, summarising the Ivanti advisory](https://cert.europa.eu/publications/security-advisories/2025-018)
- [CISA Known Exploited Vulnerabilities catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-4427)
- [watchTowr technical analysis](https://labs.watchtowr.com/expression-payloads-meet-mayhem-cve-2025-4427-and-cve-2025-4428/)
- [Rapid7, exploit chain exploited in the wild](https://www.rapid7.com/blog/post/2025/05/16/etr-ivanti-epmm-exploit-chain-exploited-in-the-wild/)
- [EclecticIQ, China-nexus exploitation](https://blog.eclecticiq.com/china-nexus-threat-actor-actively-exploiting-ivanti-endpoint-manager-mobile-cve-2025-4428-vulnerability)
- [Wiz, vulnerability chain analysis](https://www.wiz.io/blog/ivanti-epmm-rce-vulnerability-chain-cve-2025-4427-cve-2025-4428)
- [CISA malware analysis report AR25-261A](https://www.cisa.gov/news-events/analysis-reports/ar25-261a)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
