Enterprise software increasingly depends on integrations that allow applications to exchange data, automate administrative tasks, and operate across otherwise separate cloud environments. A customer relationship management (CRM) platform may synchronize records with an email service, a security platform may ingest data from Microsoft 365, and an AI assistant may retrieve documents from an organization’s SharePoint environment. Behind each of these integrations exists an authorization mechanism that determines what the connected application can access, modify, and potentially expose.
The security problem is that these integrations frequently receive permissions that extend beyond their immediate business requirements. OAuth tokens, service principals, API credentials, and persistent authorization grants can provide third-party applications with access to sensitive enterprise resources without requiring ongoing user interaction. Organizations that maintain strict controls over employee accounts may inadvertently grant comparable or greater privileges to external applications that receive substantially less security oversight.
This creates an identity-based attack surface where compromising a trusted software provider can provide access to its customers’ environments without directly compromising their employees, endpoints, or primary authentication infrastructure.
How SaaS Integrations Establish Privileged Access
Most modern enterprise SaaS integrations rely on OAuth 2.0 to authorize access to protected resources. Rather than requiring an application to store a user’s password, OAuth allows an authorization server to issue access tokens representing approved permissions. These tokens are presented to resource servers when applications interact with protected APIs.
Within Microsoft Entra ID, applications can operate using delegated permissions or application permissions. Delegated permissions allow an application to perform operations on behalf of a signed-in user, subject to the application’s granted permissions and the user’s applicable privileges. Application permissions allow a workload to authenticate and access resources independently of an interactive user session.
The distinction has significant security implications. An application granted Microsoft Graph’s Mail.Read application permission can potentially read mail across an organization’s Exchange Online mailboxes, subject to applicable resource-level restrictions. Permissions such as Files.Read.All, Sites.Read.All, and Directory.Read.All can similarly expose substantial portions of an organization’s cloud infrastructure and stored information. Microsoft Learn+1
These permissions are represented within the tenant through service principals, delegated permission grants, and application role assignments. Once authorized, an integration becomes another identity operating within the organization’s security boundary, regardless of whether its underlying infrastructure is maintained internally or by an external vendor.
Google Workspace presents comparable risks through domain-wide delegation, which allows authorized service accounts to access Workspace resources on behalf of users without individual consent. Google explicitly recommends avoiding domain-wide delegation where direct service account access or conventional OAuth consent can satisfy the business requirement.
Persistent Authorization and the Limitations of MFA
OAuth-based integrations introduce authentication and authorization lifecycles that operate independently of conventional employee accounts. Access tokens typically have limited validity periods, but integrations may maintain access through refresh tokens or application credentials that allow new tokens to be issued without requiring repeated authentication.
In a conventional bearer token implementation, possession of a valid access token may be sufficient to authenticate API requests. An attacker who obtains one of these tokens could interact with the associated resources within the permissions and validity period of that token. If refresh tokens or application credentials are also compromised, the attacker may be able to maintain access for substantially longer.
Multifactor authentication (MFA) does not inherently prevent this activity. MFA protects interactive authentication processes, but replaying an already-issued bearer token or authenticating through an independently authorized service principal does not necessarily trigger another MFA challenge.
The Internet Engineering Task Force (IETF) addresses these risks in RFC 9700, published in January 2025, which recommends sender-constrained access tokens through mechanisms such as mutual TLS and Demonstrating Proof of Possession (DPoP). These mechanisms cryptographically associate tokens with their legitimate clients, reducing the usefulness of stolen credentials.
For enterprise customers, the difficulty is that token storage, credential rotation, and certain authentication controls may be implemented within the third-party provider’s infrastructure. Organizations are effectively extending part of their identity security model to systems they do not directly administer.
SaaS Integrations as a Supply Chain Attack Vector
The August 2025 compromise involving Salesloft Drift demonstrated how third-party integrations can become a mechanism for compromising multiple enterprise environments simultaneously.
Google’s Threat Intelligence Group (GTIG) identified a campaign attributed to UNC6395 in which attackers used compromised OAuth tokens associated with Drift to access Salesforce customer environments. The attackers collected substantial amounts of CRM data and searched the extracted information for credentials, including Amazon Web Services (AWS) access keys and passwords.
The investigation later determined that the compromise extended beyond Salesforce integrations. Salesloft disclosed that attackers had accessed Drift’s AWS environment and obtained OAuth credentials associated with customer integrations.
The incident illustrates a fundamental difference between conventional software supply chain attacks and SaaS integration compromises. Attackers do not necessarily need to distribute malicious software updates, execute arbitrary code on customer systems, or exploit vulnerabilities within the destination platform. The existing authorization relationship provides a mechanism for accessing customer data through legitimate APIs.
A compromised integration with access to hundreds of customer environments can create hundreds of separate data exposure incidents originating from a single provider’s infrastructure. Each customer’s exposure depends on the permissions associated with its integration, the resources accessible through those permissions, and the provider’s credential management practices.
Read-only permissions are particularly easy to underestimate in this context. Access to internal documentation, support tickets, CRM records, and corporate correspondence can expose infrastructure details, credentials, proprietary information, and other material useful in subsequent intrusions.
Application Permissions as a Mechanism for Privilege Escalation
Third-party integrations can also provide opportunities for privilege escalation and persistence following an initial compromise.
In January 2024, Microsoft disclosed that the Russian state-sponsored threat group Midnight Blizzard had compromised its corporate email environment. After obtaining initial access through a legacy test tenant account, the attackers identified and compromised a legacy OAuth application with elevated privileges. The intrusion resulted in unauthorized access to corporate email accounts belonging to senior leadership and employees across several departments.
The incident demonstrates why application identities must be included in enterprise privileged access management programs. A compromised application may possess permissions that exceed those of the user account initially compromised, creating an indirect privilege escalation path through existing authorization relationships.
Within Microsoft Entra ID, permissions such as Application.ReadWrite.All, AppRoleAssignment.ReadWrite.All, and RoleManagement.ReadWrite.Directory warrant particular scrutiny. Depending on the granted permissions and applicable authorization restrictions, compromised applications may be capable of modifying application registrations, managing permission assignments, or altering directory role membership.
These capabilities can introduce persistent access mechanisms that survive conventional user account remediation. Resetting a compromised employee’s password or revoking their sessions does not necessarily remove credentials added to an independently authenticated application or invalidate application-level authorization grants.
Security teams investigating identity-based intrusions must examine changes to application objects, service principals, credential assignments, and OAuth grants alongside conventional authentication activity.
The Visibility Gap in SaaS Security Monitoring
Traditional security monitoring often prioritizes endpoint execution, interactive authentication, network connections, and changes to privileged employee accounts. SaaS integration abuse may generate none of the endpoint activity associated with a conventional intrusion.
An attacker using compromised application credentials can interact directly with cloud APIs without executing malware on an organization’s managed endpoints. From the resource provider’s perspective, these requests may originate from an application that has already received authorization to access the requested information.
The distinction between legitimate and malicious activity frequently exists in the behavior of the application rather than its identity. A CRM integration that routinely retrieves a limited number of customer records may suddenly enumerate entire datasets. An email automation platform may begin accessing mailboxes unrelated to its assigned business function. A document processing integration may retrieve substantially more information than its historical activity would suggest.
Microsoft Entra service principal sign-in logs, directory audit logs, Microsoft Graph activity logs, and workload-specific audit records provide different layers of visibility into this activity. Correlating authentication events with resource-level operations allows security teams to investigate what an application actually accessed, rather than simply establishing that it authenticated successfully.
Detection engineering efforts should account for several categories of application activity:
- Newly created service principals receiving high-risk API permissions.
- Unexpected additions of client secrets or certificates to existing applications.
- Changes to OAuth consent grants and application role assignments.
- Application authentication from previously unobserved network infrastructure.
- Abnormal volumes of mailbox, document, or database access.
- Previously inactive applications resuming operations.
- API requests targeting resources outside an integration’s established business function.
These detections require behavioral baselines and an inventory of authorized applications. Without that context, differentiating a legitimate software update or scheduled synchronization from unauthorized data collection becomes considerably more difficult.
AI Integrations Introduce Additional Authorization Risks
The adoption of enterprise AI assistants and autonomous agents introduces another dimension to SaaS integration security. Applications that previously performed narrowly defined synchronization tasks may now retrieve information, interpret instructions, and execute operations across multiple connected services.
An AI assistant connected to Microsoft 365, Salesforce, Slack, and an internal ticketing platform may operate across several distinct security boundaries. Its effective privileges are determined by the authorization model and permissions associated with each connection.
This creates opportunities for indirect access to sensitive resources. A malicious instruction embedded within an externally supplied document, email, or support ticket could potentially influence an AI agent’s subsequent actions if the application does not adequately isolate untrusted content from executable instructions.
The resulting exposure depends on the permissions available to the agent. An application restricted to reading a dedicated document repository presents a different risk than one authorized to retrieve corporate correspondence, modify records, send messages, and interact with external APIs.
Organizations evaluating these products must assess the underlying authorization architecture independently of the application’s advertised functionality. Restrictions implemented through an application’s interface are not necessarily equivalent to restrictions enforced by the identity provider or resource server.
Managing SaaS Integrations as Privileged Identities
Enterprise SaaS governance should extend beyond maintaining an inventory of approved vendors. Each integration should be evaluated as an identity with its own credentials, permissions, accessible resources, authentication requirements, and operational lifecycle.
Permission reviews must establish whether an application requires tenant-wide access or whether its functionality can be supported through narrower resource assignments. Microsoft Graph’s Sites.Selected permission, for example, allows access to explicitly authorized SharePoint sites rather than granting access across all site collections. Exchange Online also supports application-specific role-based access control for restricting mailbox access. Administrators must account for overlapping permission grants that could otherwise undermine these restrictions.
Administrative consent should be treated as a privileged change requiring documented justification, ownership, and periodic review. Applications that are no longer used should have their authorization grants removed, rather than simply being abandoned within the identity provider.
Incident response procedures must also account for application-level compromise. Containment may require disabling service principals, revoking OAuth grants and refresh tokens, removing compromised credentials, and investigating resource-level activity. Previously issued access tokens may remain usable until expiration, depending on the platform and its revocation mechanisms.
Vendor security assessments should examine how providers store integration credentials, isolate customer authorization data, restrict internal access to token stores, and respond to credential exposure. A provider’s ability to access customer information through legitimate integrations makes these controls directly relevant to the customer’s own security posture.
The fundamental problem with enterprise SaaS integrations is that an organization’s actual access boundary extends beyond its employees and managed devices. Every authorized application creates another path into its data and infrastructure. If those paths are granted excessive permissions, poorly monitored, or left active indefinitely, organizations can maintain otherwise effective identity security programs and still expose sensitive resources through the applications they trust.
How Can Netizen Help?
Founded in 2013, Netizen is an award-winning technology firm that develops and leverages cutting-edge solutions to create a more secure, integrated, and automated digital environment for government, defense, and commercial clients worldwide. Our innovative solutions transform complex cybersecurity and technology challenges into strategic advantages by delivering mission-critical capabilities that safeguard and optimize clients’ digital infrastructure. One example of this is our popular “CISO-as-a-Service” offering that enables organizations of any size to access executive level cybersecurity expertise at a fraction of the cost of hiring internally.
Netizen also operates a state-of-the-art 24x7x365 Security Operations Center (SOC) that delivers comprehensive cybersecurity monitoring solutions for defense, government, and commercial clients. Our service portfolio includes cybersecurity assessments and advisory, hosted SIEM and EDR/XDR solutions, software assurance, penetration testing, cybersecurity engineering, and compliance audit support. We specialize in serving organizations that operate within some of the world’s most highly sensitive and tightly regulated environments where unwavering security, strict compliance, technical excellence, and operational maturity are non-negotiable requirements. Our proven track record in these domains positions us as the premier trusted partner for organizations where technology reliability and security cannot be compromised.
Netizen holds ISO 27001, ISO 9001, ISO 20000-1, and CMMI Level III SVC registrations demonstrating the maturity of our operations. We are a proud Service-Disabled Veteran-Owned Small Business (SDVOSB) certified by U.S. Small Business Administration (SBA) that has been named multiple times to the Inc. 5000 and Vet 100 lists of the most successful and fastest-growing private companies in the nation. Netizen has also been named a national “Best Workplace” by Inc. Magazine, a multiple awardee of the U.S. Department of Labor HIRE Vets Platinum Medallion for veteran hiring and retention, the Lehigh Valley Business of the Year and Veteran-Owned Business of the Year, and the recipient of dozens of other awards and accolades for innovation, community support, working environment, and growth.
Looking for expert guidance to secure, automate, and streamline your IT infrastructure and operations? Start the conversation today.


Leave a Reply