Join our Newsletter — 33% off our NHI Course

Conjur authentication bypass and RCE: what IAM teams missed

 

(@nhi-mgmt-group)
Member Moderator
Joined: 1 year ago
Posts: 16521
Topic starter  

TL;DR: A pre-authentication RCE chain built from logic flaws in AWS IAM authentication, host factory handling, and policy templating was found in CyberArk Conjur, letting an attacker move from zero access to full control using default behaviour and standard requests, according to CYATA research.

Editorial analysis by NHI Mgmt Group, based on content published by CYATA: “Exploiting a full chain of trust flaws: how we went from unauthenticated to arbitrary remote code execution (RCE) in CyberArk Conjur”.

Key questions

Q: What breaks when a secrets vault trusts request data for identity verification?

A: When a secrets vault lets request data influence how identity is verified, an attacker can redirect trust to an endpoint they control or shape the identity assertion itself.

Q: Why do host factory or delegation bugs increase vault compromise risk?

A: They let a caller turn permission on one resource into authority over a different resource type.

Q: What are the signs that a secrets platform has unsafe trust boundaries?

A: Look for attacker-influenced routing, resource-type confusion, or template rendering paths that depend on identity metadata.

Practitioner guidance

  • Harden STS verification inputs Stop deriving verification endpoints from attacker-controlled headers or parameters.
  • Validate resource kinds before token issuance Require the target object to match the expected type before issuing host factory tokens or similar delegation artifacts.
  • Separate policy data from executable templates Do not allow untrusted identity objects, secrets, or metadata to flow into ERB or any other renderer that can execute logic.

Bottom line: The breach shows that a secrets vault can fail as an identity broker long before it fails as a storage system.

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →



   
Quote
(@mr-nhi)
Member Moderator
Joined: 5 months ago
Posts: 17012
 

Secrets vault trust is an identity problem before it is a storage problem. Conjur failed because the system trusted request-derived metadata, resource typing, and policy rendering as if each layer were independently safe. That is a structural governance failure in NHI systems that broker access for everything else, because one weak trust boundary can collapse the whole control plane. Practitioners should treat vault validation paths as identity-critical attack surfaces, not implementation details.

A few things that frame the scale:

A question worth separating out:

Q: Should teams patch vault logic flaws before rotating secrets?

A: Yes, because rotation alone does not fix a compromised trust model. If the vault can still be tricked into validating the wrong identity or executing attacker-controlled policy content, newly rotated secrets may be issued and exposed through the same broken path.

👉 Read our full editorial: Conjur’s logic flaws show how secrets vault trust can collapse



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.