惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

SecWiki News
SecWiki News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
I
Intezer
月光博客
月光博客
Cyberwarzone
Cyberwarzone
雷峰网
雷峰网
Security Latest
Security Latest
量子位
博客园 - 聂微东
小众软件
小众软件
NISL@THU
NISL@THU
C
Cisco Blogs
The GitHub Blog
The GitHub Blog
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
Y
Y Combinator Blog
V
V2EX
博客园 - 三生石上(FineUI控件)
P
Privacy & Cybersecurity Law Blog
F
Full Disclosure
Cisco Talos Blog
Cisco Talos Blog
Microsoft Security Blog
Microsoft Security Blog
S
Security @ Cisco Blogs
The Register - Security
The Register - Security
Google DeepMind News
Google DeepMind News
J
Java Code Geeks
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
IT之家
IT之家
Webroot Blog
Webroot Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
aimingoo的专栏
aimingoo的专栏
腾讯CDC
S
Schneier on Security
L
LINUX DO - 最新话题
Latest news
Latest news
Simon Willison's Weblog
Simon Willison's Weblog
罗磊的独立博客
A
Arctic Wolf
MyScale Blog
MyScale Blog
云风的 BLOG
云风的 BLOG
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Secure Thoughts
S
Securelist
Stack Overflow Blog
Stack Overflow Blog
T
Troy Hunt's Blog
Recorded Future
Recorded Future
I
InfoQ
The Cloudflare Blog
H
Heimdal Security Blog
Hugging Face - Blog
Hugging Face - Blog

Wiz Blog | RSS feed

Meet Wiz for M365: Bringing SaaS into the Security Graph How to Harden GitHub Actions: An Updated Guide Bringing Security Visibility to Vercel with Wiz Axios NPM Distribution Compromised in Supply Chain Attack Tracking TeamPCP: Investigating Post-Compromise Attacks Seen in the Wild The Wiz Blue Agent, now Generally Available Beyond the Badge: What Achieving Microsoft’s Certified Software Designation Means for Your Cloud Security Introducing the Green Agent: AI-Powered Remediation for the Cloud Three’s a Crowd: TeamPCP trojanizes LiteLLM in Continuation of Campaign KICS GitHub Action Compromised: TeamPCP Strikes Again in Supply Chain Attack Introducing the Wiz Red Agent- AI-Powered Attacker Introducing Wiz AI Application Protection Platform (AI-APP) Introducing Wiz Agents & Workflows: Security at the Speed of AI AI Runtime Threat Detection: From Input to Real-World Impact Trivy Compromised: Everything You Need to Know about the Latest Supply Chain Attack It’s Official: Wiz Joins Google Understanding and Reducing AI Risk in Modern Applications Introducing Wiz Tenant Manager: Multi-Tenant Management for Federated Organizations The Agile FedRAMP Playbook, Part 4: Reactive Risk Management through Enriched Incident Response Wiz Achieves CPSTIC Certification in Spain Seeing AI Clearly: Building Visibility Across Modern AI Applications The Agile FedRAMP Playbook, Part 3: Preventative Risk Management by building Secure by Design Wiz Leads the 2026 Latio Application Security Report with awards in 4 categories Building an Agentic Cloud Security Ecosystem: A Reference Architecture with Wiz MCP and Infosys Cyber Next The Agile FedRAMP Playbook, Part 2: Proactive Risk Management with Continuous Monitoring Cloud-native Security for your Windows environment: Announcing the Wiz Runtime Sensor for Windows Would You Click ‘Accept’? Automatically detecting malicious Azure OAuth applications using LLMs Wiz Named a Leader in The Forrester Wave™: Cloud Native Application Protection Solutions, Q1 2026 From Detection to Remediation: It’s Time to Rethink AppSec Around Exploitability and Root Cause Fixes The Agile FedRAMP Playbook, Part 1: Why Risk is Your Best Starting Point Introducing AI Cyber Model Arena: A Real-World Benchmark for AI Agents in Cybersecurity Wiz + Spotify Backstage: Security at the Developer’s Desk Building AI Security Together: New Ways to Partner with Wiz for AI Security in 2026 Hacking Moltbook: The AI Social Network Any Human Can Control The Year in Wiz Research: 2025 Most Read Blogs WizExtend is Here: AI and Cloud Security Insights in Your Daily Workflow From Detection to Remediation: Wiz in Your JetBrains IDE Agentic Browser Security: 2025 Year-End Review CodeBreach: Infiltrating the AWS Console Supply Chain and Hijacking AWS GitHub Repositories via CodeBuild A 90-Day Action Plan to Turn Resolutions into Results with Wiz Introducing the Wiz Partner Alliance: A New Chapter for Partner Success Preparing for Post-Quantum Cryptography Wiz Recognized as a 2025 Customers’ Choice in the Gartner® Peer Insights™ Voice of the Customer for CNAPP Expanding the Zero Critical Club to set a new standard for AppSec and SecOps teams Snipping the Long Tail of Shai-Hulud 2.0 Protecting Against Zero-Day Vulnerabilities with SOC-Level ASM Alert MongoBleed (CVE-2025-14847) exploited in the wild: everything you need to know The Kenna Transition: Your Strategic Shift to Exposure Management From MCP to Vibe Coding: Full Endpoint Visibility in Wiz AI Security Bringing Oracle Cloud Identity to Wiz Zero‑Days in the Age of AI: Behind the Scenes of ZeroDay.cloud 2025, with a Record High of CVEs in Critical Cloud Infra Gogs 0-Day Exploited in the Wild Code to Cloud Attacks: From Github PAT to Cloud Control Plane Top AWS re:Invent Announcements for Security Teams in 2025 React2Shell: Technical Deep-Dive & In-the-Wild Exploitation of CVE-2025-55182 React2Shell (CVE-2025-55182): Everything You Need to Know About the Critical React Vulnerability Wiz Product Announcements at re:Invent 2025: Expanding Visibility from Code to Cloud Introducing Wiz SAST: Where Code Risk Meets Cloud Context Wiz Becomes Fastest Security ISV to Reach $1 Billion in AWS Marketplace Lifetime Sales It's Here! Wiz Exposure Management is Now GA Shai-Hulud 2.0 Aftermath: Trends, Victimology and Impact Service Catalog is Here: Expand Risk Visibility for Your Service and Its Dependencies, Simplify Issue Ownership WizOS: Powering Secured Image Adoption with AI 3 OAuth TTPs Seen This Month — and How to Detect Them with Entra ID Logs Mastering Software Governance with Hosted Technologies Inventory Shai-Hulud 2.0 Supply Chain Attack: 25K+ Repos Exposing Secrets Get Certified on Wiz Defend for Threat Detection and Response Blueprint for Security: A Guide to Code, Governance, and Response Frameworks Google Unified Security Recommended Program Names Wiz Among First 3 Strategic Partners Introducing Posture Issues: Transform Security Findings into Actionable Outcomes Empower and Accelerate Your SOC with the Blue Agent Exposure Report: 65% of Leading AI Companies Found with Verified Secret Leaks Wizdom 2025 Product Announcements: Extending the Cloud Operating Model When AI Becomes the Heart of Security: Powering a Future You Can Trust AI-Powered Wiz: From Agents to Everyday Intelligence Defend Agentless Workload Detection: Bringing Visibility to Blind Spots in Threat Detection Securing AI Agents with Wiz AI-SPM Introducing Wiz ASM: Context-Driven Attack Surface Management Securing Critical Infrastructure in the Cloud Era: A Policy and Technology Blueprint How CISOs Should Plan Security Budgets for 2026 Beyond the Checkbox: How Wiz Transforms SOC 2 into a Security Powerhouse Bringing Visibility to Kubernetes: Unified Inventory and Network Insight The Foundation Modern AppSec Is Still Missing: Code to Cloud, Rebuilt the Right Way Dismantling a Critical Supply Chain Risk in VSCode Extension Marketplaces Introducing HoneyBee: How We Automate Honeypot Deployment for Threat Research RediShell: Critical Remote Code Execution Vulnerability (CVE-2025-49844) in Redis, 10 CVSS score Defending against database ransomware attacks AI Security 101: Mapping the AI Attack Surface Introducing zeroday.cloud: First-of-its-kind cloud and AI hacking competition Unifying Cloud Risk and Network Defense: Wiz and Check Point The emerging use of malware invoking AI Wiz achieves FedRAMP High authorization Wiz + HCP Terraform: Close the IaC-to-Cloud Infrastructure Security Gap IMDS Abused: Hunting Rare Behaviors to Uncover Exploits Beyond CVEs: The Exploitation of Everyday Misconfigurations Wiz Research Discovers One in Five Organizations Exposed to Systemic Risks in Vibe-Coded Applications - Here's How to Secure Them Introducing Wiz Incident Response: Your Expert Partner for Cloud Security Incidents Shai-Hulud: Ongoing Package Supply Chain Worm Delivering Data-Stealing Malware DORA Compliance in the Cloud Era: Insights from Deloitte and Wiz How Wiz Customers like Brex and FICO See AI Changing Security
Avoiding mistakes with AWS OIDC integration conditions
Scott Piper · 2025-01-01 · via Wiz Blog | RSS feed

A common way to allow third-party SaaS solutions to access AWS accounts is via OpenID Connect (OIDC) integrations.  These integrations require specific conditions in the AWS IAM trust policy, and if those conditions do not exist, they may allow undesired actors to access the AWS account.  Researchers have identified and published information about four of these vendor integration mistakes that customers can make.   This blog post collects those specific examples into a discussion of the general problem and expands the scope to include all vendors who have public documentation on this integration.  

The first one: GitHub Actions 

In 2023, multiple sets of researchers (1, 2, 3, 4) identified that some companies had not included a “sub” condition in their IAM role trust policy which allowed any GitHub user to create a GitHub Action which could assume the victim’s IAM role.  Here is an example of a correct role trust policy that includes the required sub condition:

If the "sub" condition in the above policy was missing, and an attacker knew about the IAM role that was missing it, then the attacker could create a GitHub Action in their own GitHub repo that could assume that IAM role. The "sub" condition restricts who can assume this role to only those GitHub Actions coming from a specific repo and branch. 

A couple of things were done by AWS which have mostly eradicated this problem. There may be some old configurations that still have this issue, but you can no longer make an IAM role trust policy that trusts GitHub Actions and does not have the necessary “sub” condition in the policy. I wrote about my involvement with this in previously: A security community success story of mitigating a misconfiguration

...Then more were found 

After this problem was found with the integration to GitHub Actions, the same concept was also found to impact the integrations of Terraform Cloud, Microsoft Defender, and Gitlab.  The general problem is that if a customer does not include certain conditions which restrict who can access the AWS IAM role, then an attacker can sign up for an account with one of these services and access the customer’s AWS IAM role. 

Required conditions 

Instead of continuing in this cycle of learning about new OIDC providers and the mistakes that could be made with them every few months, we decided to look at all the provider integrations that can be made with AWS via OIDC. We did this based on those with public documentation we could find, to identify the critical condition required.  We found more than twenty vendors that offer OIDC integrations with AWS and reviewed their documentation. 

You might initially think that you just need to ensure you have a “sub” condition in all your OIDC integrations, but the Microsoft Defender issue is interesting because the required condition to avoid this issue is on the “sts:RoleSessionName” value as documented here.  Similarly, a vendor named DoIT uses “aws:RequestTag/DoitEnvironment” instead of “sub” as documented here.    

Some vendor integrations only use an “aud”, and do not use a “sub” condition or any other condition.  For example, Crafting Sandboxes (documented here) and Teleport (documented here).   Some vendors do mention an “aud” value, but it is the same value for all customers, and thus does not appear to be needed, such as GitHub (and many others) using an “aud” value of “sts.amazonaws.com”.  Other vendor integrations only document a need for a “sub” condition, such as Gitlab (docs) and Bitbucket (docs).     

Many of these integrations have customer specific values in the OIDC provider URLs (the part in the “Federated” element of the json policy) or audience values (the part in the “aud” element), or both, that restrict access to a specific customer, so there may be multiple pieces beyond the “sub” condition that is important. In those cases, not having a “sub” condition may not present as large of a risk because an attacker would need to have initial access into the customer to potentially abuse this further. These situations have less risk, but additional conditions should still be used when available.    

You need to be very careful when you look at these values. Sometimes they look like random values that you might assume are unique to your customer, but they are not!  For example, in the Microsoft Defender integration, EVERY customer uses an OIDC provider URL of sts.windows.net/33e01921-4d64-4f8c-a055-5bdaffd5e33d/ and audience value of api://1462b192-27f7-4cb9-8523-0f4ecb54b47e.   Similarly, env0 uses an “aud” value of hoMiq9PdkRh9LUvVpH4wIErWg50VSG1b for all customers (documented here). 

Some vendor integrations are run from domains owned by customers which can make it difficult to identify what the integration is.   Some AWS customers may also create their own internal OIDC providers, so it is not possible to have an exhaustive list of what every possible vendor integration is. Finally, some providers do not have any public documentation to better understand whether there may be additional recommended conditions. 

Sometimes the “aud” condition is not very useful (for example with Github Actions it is always “sts.amazonaws.com”), but a general rule is you should ensure that you have both an “aud” condition and a “sub” condition for all your OIDC integrations, and to investigate the documentation if this is not the case.  They may only require one, or they may require a condition other than the “sub” condition.  

AWS Access Analyzer has the following policy checks related to OIDC integration that include: 

For the different vendors that provide OIDC integrations with AWS, we created detections to look for those integrations that were missing the desired conditions.  

Vendor Recommendations 

The following table shows a number of vendors we’re aware of, with public documentation, and what conditions are recommended in the OIDC integrations.   This is provided to show the variance in these integrations. Please refer to the vendor documentation or their support for confirmation and official guidance.    
 
A ✅ indicates that a value is recommended (and is unique per customer), while a ❌ indicates that the documentation does not have a recommendation for that element.  A string in the aud column such as “sts.amazonaws.com” indicates that the same string value is being recommended to all customers, as opposed to being a customer specific value.  The “Other?” column mentions other conditional elements that are being recommended.  

Built-in identity providers 

AWS has four built-in identity providers.   These have unique condition requirements as follows (documented here): 

  • cognito-identity.amazonaws.com: Conditions “aud”, “amr”, “sub” and “oaud”. 

  • www.amazon.com: Conditions “app_id”, “sub”, and “user_id”. 

  • graph.facebook.com: Conditions “app_id” and “id”. 

  • accounts.google.com: Conditions “aud”, “sub”, and “oaud”. 

It is also common to see OIDC identity providers associated with EKS, as documented here.  These should have “aud” and “sub” conditions. The “aud” condition is always set to check for the value “sts.amazonaws.com”. We have seen this is commonly left out, and although we do not know of a security concern with leaving this out for this integration, we believe it is best to align with the documentation for this service and use the condition check for it. 

Is having the condition enough? 

Even if an integration has the necessary conditions, the condition may not be as correct as it could be. For example, with GitHub Actions, the “sub” condition will include the GitHub organization, repo, and branch, so someone could use a StringLike on the “sub” condition to allow any repo and branch in the organization, which may be more open than it should be. 

Going in the other direction of being even more secure, some vendors, such as Bitbucket and Buildkite, go a step further by also recommending that customers restrict access to a set of source IP addresses (documented here and here).    

Conclusion 

AWS OIDC integrations are a secure way of granting access to an AWS account, but customers sometimes misconfigure them. Many of these integrations have special manual steps to add additional conditions to the policies which customers may miss, resulting in insecure integrations. You should ensure all your OIDC integrations have both an “aud” and “sub”, and investigate any exceptions as there are vendors that work differently.