Automation-platform credential-test exfiltration and FQDN-endpoint metadata SSRF¶
A September 21 GitHub advisory-enrichment wave surfaced detailed descriptions for several previously terse Red Hat platform advisories. Three carry durable offensive operator axes that generalize past the specific products:
- AAP Controller HashiCorp Vault credential plugin service-account exfiltration, GHSA-p5f2-j2p5-7p7v / CVE-2026-12564 (CVSS 9.6):
kubernetes_auth()inawx_plugins/credentials/hashivault.pyreads the controller pod's own Kubernetes service-account token and POSTs it to a URL taken from the credential definition when that credential is tested. An authenticated user with credential-creation privileges points a Vault Secret Lookup credential (kubernetes_role auth) at an attacker listener and receives the controller's SA token, which the advisory reports carries Kubernetes API access to control-plane namespaces with full pod CRUD and secret read, including database credentials and the DjangoSECRET_KEY. - OpenShift Router FQDN EndpointSlice → cloud metadata SSRF, GHSA-76ww-43j5-78x5 / CVE-2026-42965: a user with EndpointSlice write access creates a Service backed by an FQDN-type EndpointSlice endpoint that resolves to a cloud metadata endpoint; the router proxies requests there, disclosing instance credentials. The advisory explicitly frames this as bypassing prior IP-address validation, the denylist covers IPs, and hostname endpoints were the unextended leg.
- Quay
GLOBAL_READONLY_SUPER_USERSrobot-token disclosure, GHSA-x8x8-qp2x-c2mj / CVE-2026-18255: a user configured as read-only superuser can view robot account tokens for repositories they are not a member of, then impersonate any robot account. "Read-only" gated resource reads but not the credential-view surface.
Disposable platforms and owned listeners only
Use a disposable controller/registry/router deployment, an owned no-content HTTPS listener as the credential-test sink, a synthetic service-account token whose value is a random marker, a lab-only DNS name that resolves to an owned denied canary (never 169.254.169.254, metadata hostnames, or any live internal address), synthetic repositories and robot accounts, and patched token-send/proxy/lookup sinks that record and deny. Never test against a production controller, capture live tokens, route real traffic at metadata endpoints, or read real robot credentials.
1. Treat every "test this credential" button as an outbound-fetch primitive¶
Credential plugins in automation controllers (AWX/Ansible Automation Platform and siblings) accept operator-supplied connection material and then actively connect somewhere to validate it. The finding class: the test path authenticates with the platform's own identity, pod SA token, instance role, mTLS client cert, to a URL the unprivileged credential author chose.
Operator checklist on any controller/CICD platform with pluggable credentials:
- Enumerate credential types whose "verify/test" action performs a network request (Vault, CyberArk, HashiCorp-consul, custom
awx_plugins/credentials/*, and equivalent runner-side plugins). - For each, identify what identity material rides along: read the plugin source (these platforms are open-source,
kubernetes_auth(),requests.post,service-ca.crt,/var/run/secrets/kubernetes.io/serviceaccount/tokenare the grep targets). - In an authorized lab, create a credential with the auth URL pointed at your owned listener and press Test. A bounded positive is the listener receives a bearer token that matches the pod's SA token marker while the credential author holds no cluster permission beyond
credential_create. - Prove token scope without using it destructively:
kubectl auth can-i --list --token=<captured marker>against the lab API, or record the API's self-review response. Do not replay captured tokens against any live cluster.
Durable rule: a form field that names a URL plus a plugin that authenticates = exfiltration channel for the platform's identity, independent of whether the platform's UI gates cluster access from the user. Chain to check when a token is captured: pod CRUD in control-plane namespaces → read every Secret (DB creds, app SECRET_KEYs) → impersonate the automation platform itself.
2. Sweep EndpointSlice/IP-validation designs for the hostname leg¶
The Router record is the cloud-metadata-SSRF sibling of every backend-IP denylist. The invariant to attack: validators that check endpoint IPs cannot check names.
| Endpoint type | Value | What the validator sees | Risk |
|---|---|---|---|
addresses: ["10.0.0.5"] | literal IP | IP denylist applies | denied |
addresses: ["169.254.169.254"] | literal metadata IP | denylist applies | denied |
addresses: ["metadata.internal.example"] (FQDN type) | hostname | nothing to match against | resolves at proxy time → metadata |
| hostname with attacker-controlled DNS | rebinding | nothing | validation-time ≠ connect-time answer |
Validation workflow in a disposable cluster where you hold only EndpointSlice write (or can create a Service + slices):
- Create a synthetic Service, attach an FQDN-type EndpointSlice pointing at an owned lab hostname that resolves to a denied canary listener (patched resolver records the lookup, socket is refused).
- Route one inert request through the router for that Service. A bounded positive is the router's proxy opens (or attempts) a connection to the hostname-resolved canary while the IP-literal control is still rejected, that differential is the finding.
- Also test the parameter-ABSENT/alternate-type matrix: endpoints with both address fields set, empty
targetRef, and per-provider annotation flags that select the resolution path.
This generalizes to any proxy that resolves backend names (ingress controllers, API gateways, service meshes, registry mirrors): grep the validation code for the parsed type, an IP-parsing call (net.ParseIP, ipaddress.ip_address) is itself evidence of a missing hostname leg.
3. Enumerate credential-view surfaces under "read-only" global roles¶
Quay's record gives the reusable axis: platform-admin "super roles" are usually built by layering read grants over resource types, and token/secret sub-resources are frequently forgotten in the layering.
- On any registry/artifact platform with a read-only admin concept, list every sub-resource that returns long-lived material: robot/bot account tokens, replication passwords, security scanner configs, webhook secrets,
GETendpoints returning credentials "for the owner." - With a disposable read-only-superuser account, request each one against a repository the account does not belong to (the cross-scope leg), not just ones it can browse.
- A bounded positive is a synthetic robot token string returned to the read-only principal for a foreign repository. Report the token field name and scope; never retain or replay real robot credentials.
Pair with the recurring identity-drift family: GLOBAL_READONLY_SUPER_USERS is config-file-defined, so also check whether the role's power depends on which config key or list membership (parameter-ABSENT axis) rather than database-backed grants.
Evidence and reporting checklist¶
- Exact product, distribution, and build are recorded; these are Red Hat-enriched GitHub mirrors, confirm against the Red Hat primary advisory before reporting.
- Credential-test proofs use a synthetic token marker; captured-marker equality is proven without API use against any live cluster.
- Metadata-SSRF proofs use owned hostnames + denied canaries only; no literal metadata IPs are routed in shared environments.
- Validation-bypass claims show the IP-literal control still denies while the hostname leg is reached on the same deployment.
- Read-only-role token findings state the exact endpoint and scope, and contain no live token material.
- Prerequisite authority (credential-create, EndpointSlice write, config-list membership) is stated per finding; none of these three are unauthenticated.
Follow-up (Oct 5 18:34Z): Eclipse Che resolver SSRF with stored-PAT forwarding (CVE-2026-86671 / GHSA-c4vh-c3rq-3rgr, high, no fix available)¶
Eclipse Che 7.29.0 and later: GET /api/scm/resolve and POST /api/factory/resolver pass an attacker-controlled URL straight to URLFetcher.fetch() → new URL(url).openConnection() with no scheme or host allow-list, and the response body is returned to the caller. Any authenticated Che user gets: file:// reads including the workspace pod's Kubernetes service-account token at file:///var/run/secrets/kubernetes.io/serviceaccount/token, internal HTTP services, cloud instance metadata, and the user's stored SCM personal access token attached as an Authorization header to a host of their choosing. A second trigger needs no API access at all: a victim who opens a workspace from a malicious devfile whose parent.uri points at an attacker server has the same PAT forwarded.
Operator axes (extends the "test button = outbound-fetch primitive" rule above to resolver endpoints):
- Resolver/fetch endpoints are credential-riding SSRF even when the verb is GET. Any endpoint whose name contains
resolve,validate,fetch,preview, orlookupand takes a URL parameter should be tested for (a)file://scheme acceptance, (b) metadata/internal reachability with read-back in the response body, and (c) whether a stored platform-side credential rides along on the request. Capture the header client-side on an owned listener to prove the credential-forwarding leg; never replay a real PAT. - Token-attach-on-fetch is a distinct severity multiplier from blind SSRF. The Che record is the SCM-PAT twin of the UTMStack
PdfServicerender-leg pattern and the Sept 21 Vault-plugin test path: the platform authenticates itself to a user-chosen host. Grep targets in open-source platforms:openConnection,follow_redirectsnear credential attach points,Authorizationheader assembly from stored secrets. - Devfile/manifest
parent.uri= zero-interaction trigger leg. Workspace platforms that dereference imports from shared links turn a phishing-shaped URL into a server-side fetch with the victim's stored credentials. On authorized Che/Gitpod/Codespaces-class engagements, register a disposable account, mint a synthetic marker PAT, and open a lab devfile pointing at an owned listener, the listener's capturedAuthorizationvalue is the bounded positive. - No-fix state is an engagement planning input: high-severity, unfixed, shipped across a wide version range, treat internet-exposed Che workspaces as reachable SA-token sources during cloud-assessment scoping (route/auth evidence only; no token capture outside approved labs).
October 26 follow-up: Harbor webhook delivery SSRF with execution-log read-back (CVE-2026-111590 / GHSA-h7v4-fjg7-95fc)¶
A wide range of Harbor versions (registry/artifact platform) accept webhook target addresses without blocking private and link-local ranges. A ProjectAdmin-tier user configures a webhook policy pointing at an internal address; when any project event fires, the Harbor jobservice makes an unauthenticated outbound HTTP POST to that target, and if the target answers with an error status, the response body is written into the webhook execution log, which project members can read. Cloud metadata and other network-restricted resources become readable through the log.
Operator axes (this page's registry-platform lineage: Quay robot tokens, OpenShift Router FQDN endpoints, Harbor mirror SSRF):
- Webhook/notification delivery is an SSRF primitive on every platform that has one, and the URL field is write-gated at a much lower tier than operators expect. "Project admin" is a low bar on registries, CI systems, and SaaS tools; enumerate every webhook/connector/destination URL field and check whether private/link-local/metadata shapes are rejected at save time. Save-time allowlist vs delivery-time resolution drift (rebinding) also applies.
- Error-path log writes are a response read-back channel for otherwise-blind SSRF. Many delivery components echo response bodies only for non-2xx answers. Probe shape: make your callback (or the internal endpoint's error page) return 4xx/5xx with distinctive content, fire the event, then read the platform's own execution/attempt log. When auditing any outbound-delivery component, read its logging code for
response.bodywrites, one grep decides blind-vs-readable SSRF. - Delivery-side identity is worth enumerating: jobservice sends the POST unauthenticated with no target allowlist, but on other platforms the delivery leg may ride a service identity (cf. the Vault-plugin test path on this page). Capture the request client-side on an owned listener first.
Bounded proof: two-user lab project, webhook target = owned listener returning 500 + marker string, fire a push event, confirm marker in project-visible webhook logs; internal leg proven only against lab-owned denied canaries, never live metadata endpoints.
November 12 follow-up: AWX single-valued webhook_credential skips the use_role check that the many-to-many path enforces (CVE-2026-126642 / GHSA-c92q-w8v5-r4hp, medium)¶
AWX (Ansible Automation Platform controller) JobTemplateAccess.can_add/can_change and WorkflowJobTemplateAccess.can_change in awx/main/access.py omit the check_related('webhook_credential', Credential, ..., role_field='use_role') call that UnifiedCredentialsMixin.can_attach performs for the normal many-to-many credentials relationship; the serializer validates only the credential's type and namespace, not the caller's use permission. A user who can administer their own job template (plus its project and inventory) attaches someone else's webhook token credential (e.g. a GitLab PAT), retrieves their template's webhook key, and a webhook event then makes AWX decrypt the attached token and send it in a request header (PRIVATE-TOKEN for GitLab) to a status URL derived from the event payload, disclosing the victim's token to an attacker-influenced destination.
Operator axes (extends this page's credential-attach lineage: Vault plugin test path, Quay read-only robot tokens):
- Permission parity between singular and plural relationship fields is a first-class audit target. When a platform enforces
use_role/can_useon a many-to-many attach path, grep for singular foreign-key variants of the same credential concept (webhook_credential,notification_credential,vault_credential_id,*_key) and test them against the same low-privilege principal. Enforcement often lives in a mixin applied to the collection accessor only. - Serializer validation of type+namespace is not authorization. "Is this the right kind of credential in the right org" checks pass while "may this caller use it" is never asked. Attach-a-foreign-credential probes should run against every credential-typed field on every writable template/job object, with two lab users and a marker token.
- Attacker-influenced URL in the event payload plus server-side secret injection into a header is the exfil leg: same shape as section 1 (platform authenticates itself to a user-chosen host), here triggered by an inbound webhook rather than a test button. Bounded proof: two-user lab, victim credential holds a random marker token, attacker template + crafted webhook payload with status URL at an owned listener, bounded positive is the marker value in the captured
PRIVATE-TOKENheader. Never use real PATs or replay captured tokens. - Sibling sweep: any controller with both
credentialsM2M and singular credential FKs (AWX forks, Tower-derived tools, CI platforms with webhook tokens) inherits this defect shape; diff the accessor classes for the missingcheck_related.
November 12 second follow-up: AWX WebSocket global broadcast groups skip the object-level authz the REST API enforces (CVE-2026-71367 / GHSA-chf8-h4m7-hwh4, medium)¶
consumer_access() on AWX's WebSocket consumer enforces access controls only for object-level event groups (job_events, workflow_events, ad_hoc_command_events) and accepts subscriptions to global broadcast groups like jobs-status_changed with no permission check. A low-privilege user in one organization receives real-time job status metadata from every organization: job IDs, status transitions, timestamps, instance-group names (infrastructure topology). The REST API's organization isolation is real; the stream beside it is not.
- Durable rule: the event bus is a separate authorization surface from the REST API, and group taxonomies split exactly along the object/global seam. For any app with WebSocket/SSE live updates: enumerate the subscribable group/room names from client code or channel-layer routing, subscribe to every group with the lowest-privilege lab account, and diff payloads against the same data fetched through the REST API as that account. A group that returns rows the REST API 403s on is the finding. This is the dual-path HTTP-vs-WebSocket auth-parity rule (Eclipse ioFog, Oct 20) narrowed to a within-transport seam: same socket, some groups gated, some not.
- Ops-timeline value on red-team engagements:
jobs-status_changed-style feeds give job cadence, runner fleet naming, and cron schedules from a single cheap subscription, prime scheduling data for later ops. - Proof boundary: two-org lab AWX, your own low-priv account in org B listening for org A's synthetic job transitions; never subscribe-and-harvest against a production controller.
Tracked from the same enrichment wave without publication¶
- libaom AV1 codec quartet (CVE-2026-56211 encoder SVC layer-ID overlap with crash-oracle base-address brute force in fork-based encode services, CVE-2026-56209 arbitrary-address write, CVE-2026-56208/56210 heap overflows): codec memory-safety class per parser precedent; the crash oracle in fork-per-job workers is itself the reusable primitive, revisit if a replayable service-level workflow lands.
- xdgmime
_xdg_mime_magic_parse_magic_line()2-byte OOB write when parsing an attacker-controlled magic file from$XDG_DATA_HOME/mime/magic(CVE-2026-16118): user-writable MIME-detection data files as attack surface is a durable desktop axis; local class, tracked. - Ansible Automation Platform images group-writable
/etc/passwd→ container UID-0 add via root-group membership (CVE-2025-57847): container-hardening hygiene, tracked. - ml-metadata statically-linked outdated gRPC H2 DoS (CVE-2026-18618) and Quay repository-mirror SSRF (CVE-2026-15927, already promoted on the August 6 Quay mirror page) re-surfaced in the same update batch.
November 16 follow-up: Dinky testConnect, an any-user JDBC connection test that is really an internal port scanner plus a file-read oracle (CVE-2026-129865 / GHSA-649w-9hf5-2rqf, high, through 1.2.5)¶
Dinky (streaming data platform) exposes DataSourceController.testConnect to any authenticated user with caller-controlled connection settings: the endpoint opens an arbitrary JDBC connection using the server's egress and returns driver errors. Two legs from one route: (1) point the JDBC URL at internal hosts/ports and read connection-refused vs timeout vs auth-error strings for a server-side port scan from inside the network perimeter; (2) point it at an attacker MySQL server with allowLoadLocalInfile enabled and the driver ships local files from the Dinky host back to you (classic MySQL LOAD DATA LOCAL INFILE client-side file read, now with a server-side caller so no local access needed).
- Durable rule: "test connection" buttons are SSRF with a database-driver payload dialect. For every credential-test/connect/validate endpoint in any data platform, BI tool, or automation hub (this page's whole thesis), check three things: who is authorized to call it (capability checks often miss these utility routes entirely), whether the URL/host field is validated (JDBC URL parsers accept parameters as attack surface:
allowLoadLocalInfile,autoDeserialize=true+queryInterceptors,jdbc:mysql://vsjdbc:h2:vsjdbc:postgresql://each carry their own RCE/file-read dialect), and what the error text reflects (driver errors = internal reachability oracle). The MySQL-connectorautoDeserialize/queryInterceptorsandallowLoadLocalInfilebatteries are the two highest-yield JDBC probes; run them against your own listener/lab server first. - Sibling leg, same wave:
ClusterConfigurationController/api/clusterConfiguration/listandlistAllreturn every cluster's fullconfigJsondeployment settings to users without cluster-configuration permission (GHSA-73xp-frgv-rvwv / CVE-2026-129866, medium). Utility/config list routes commonly skip the permission the CRUD routes enforce; sweep*/listand*/listAllvariants of every admin resource with the lowest-privilege lab account (the AWX global-broadcast-group leg above is the same route-family drift in the streaming direction). - Validation boundary: lab Dinky instance, your own MySQL listener, canary files you created in the lab host; never aim
testConnectat third-party internal hosts or read files you do not own.
November 23 follow-up: Lightdash ships your GitLab app token to a host_domain the project developer picks; N-able MailAssure's LDAP connection check is an authenticated internal port scanner (2 legs, 1 critical + 1 high)¶
- Lightdash before 3.212.0, org GitLab app token exfiltrated to an attacker-chosen
dbthost (GHSA-8cf9-9rx7-rppm / CVE-2026-134827, high):getGitlabInstallationRepoReadAccesssends the organization-level GitLab app token to the host recorded in the project's dbt connectionhost_domain, a field project developers (a low tier) can set. Point it at a collector you own, have the AI agent read the repository, and every GitLab repo reachable by that app installation is yours. Rules: (1) on any BI/analytics/AI-agent product, build the credential-to-field matrix: which org/tenant secrets ride along on requests whose destination is settable by a lower tier; the answer is usually "the token is attached before the URL is validated", the same attach-before-validate ordering as the Sept 15 parser class. (2) The token's blast radius (every repo the GitLab app reaches) is the severity argument; test with your own GitLab app and collector. - N-able MailAssure (SpamExperts) before 20261121.1943, LDAP sync connection check = arbitrary internal dial (GHSA-g4r8-gwqr-j289 / CVE-2026-134624, critical): when a relay is configured, the authenticated API user can point the LDAP synchronisation connection check at arbitrary internal hosts and ports; the server connects, revealing reachability, and pushes crafted data to internal services. This is the "test connection" SSRF thesis one notch sharper: the check exists specifically to dial what you type, so validation is the whole control, and there isn't any. Rules: (1) enumerate appliance/API endpoints whose purpose is connectivity verification (LDAP, SMTP relay, DNS, NTP, webhook test) and treat each as a port scanner plus payload channel; (2) mail security appliances sit deep in enterprise perimeters, so an authenticated-low-tier API user getting internal dial is a recon-to-pivot story worth the report. Lab/owned-target only.