On September 19, 2022, a teenager got into Uber's internal systems. The attack did not use a zero-day vulnerability or sophisticated malware. The teenager sent a text message to an Uber employee pretending to be from IT and got the employee to approve a multi-factor authentication prompt.
Once inside, the attacker discovered hardcoded credentials in a PowerShell script that gave access to Uber's privileged access management (PAM) system. Through PAM access, every secret in the company was unlocked by the attacker. That included AWS consoles, Google Workspace admin, Slack, SentinelOne security dashboards, HackerOne bug reports as well as internal financial tools.
He then had access to everything from there. That included HackerOne bug reports, source code, financial records and internal messages. Screenshots of the breach were posted by him in a Slack channel for Uber engineers. At first, Uber engineers took it as a joke.
The Uber breach illustrates a failure that sits at the intersection of two concepts most people conflate: authentication and authorization. The employee authenticated, he proved he was who he claimed to be, albeit under social engineering pressure.
Authorization was not managed well enough by the systems behind him and they fell short on authorization. Once inside, an authenticated user could get too much access and after being authenticated as that employee, the attack got permissions far beyond what should have been available and the PAM credentials hard-coded brought down the authorization boundary entirely.
Authentication answers "who are you?" Authorization answers "what are you allowed to do?" A locked front door versus an internal security system shows how different these two questions are.
Getting one right while failing at the other is like installing a bank vault door on a building with no interior walls.
Both must work and authentication and authorization are separate controls that have to function together. A pass in authentication does not give authorization and separating them is what allows attackers to go from a stolen low-privilege account up to the keys of the kingdom.
The Anatomy of Authentication
Proving Identity in a Digital World
Authentication (often shortened to AuthN). This is the process of making sure someone really is who they say they are. In the real world, that means looking at a person's face, checking their ID card and using human judgment. A bouncer looks at how you look and compares it to an ID picture. A bank teller matches up your signature with a reference card.
In the digital world, verification is harder because there is no physical presence. Authentication relies on factors: categories of evidence that together build confidence in an identity claim.
Factor 1: Knowledge: something you know. Passwords, PINs, security questions, and the answers to "what was the name of your first pet?" Knowledge factors are the oldest and most common authentication method. They are also the weakest.
Over 80% of hacking-related breaches in 2023 involved stolen or weak credentials as found by the Verizon Data Breach Investigations Report.[1] Services share passwords that get reused for years. They are guessable from common patterns and phishable by deceiving people.
Strong password hygiene fails to be maintained by even users who grasp these risks across hundreds of accounts.
Factor 2, possession, is something you have. These include hardware security keys such as YubiKeys and Titan Keys, smartphones that make time-based one-time passwords (TOTP) and smart cards built into employee badges. An attacker has to get hold of the actual device or remote compromise it for possession factors and that makes them meaningfully stronger.
Google reported that after deploying hardware security keys to all 85,000+ employees in 2017, they experienced zero successful phishing attacks on employee accounts in the following year.[3]
By using a $20 to $50 piece of hardware per employee, companies were able to close the same attack surface that had let in millions of credential-based breaches.
Factor 3: Inherence: something you are. Fingerprints, facial recognition, iris patterns, voice recognition, typing cadence, and gait analysis. Biometrics are convenient and difficult to forge but introduce a unique problem: you cannot change your biometrics if they are compromised.
The 2015 breach of the U.S. Office of Personnel Management (OPM) exposed the fingerprint records of 5.6 million current and former federal employees and contractors. Those individuals cannot reset their fingerprints the way they can reset passwords.
Factor 4. Context, where you are or what you're doing. Supplied as additional signals are IP address geolocation, device fingerprinting, time-of-day analysis and behavioral patterns such as typing speed, mouse movement and purchase history.
Though they are rarely used as main factors on their own, combining them with others raises authentication confidence a lot.
Multi-Factor Authentication: Layering the Defenses
Multi-factor authentication (MFA) combines two or more different factor categories.[4] Critically, combining two factors of the same type is not true MFA. A password plus a security question is not MFA, both are knowledge factors. A password plus a code from an authenticator app is MFA: knowledge plus possession.
Microsoft reported in 2019 that MFA blocks 99.9% of automated credential attacks.[10]
Many organizations could get rid of most account takeover risk by a single policy change that calls for MFA.
Not all MFA implementations are equally strong:
| Method | Factor Types | Strength | Primary Weakness |
|---|---|---|---|
| Password only | Knowledge | Low | Phishing, reuse, brute force |
| Password + SMS code | Knowledge + Possession | Medium | SIM swapping, SS7 protocol attacks |
| Password + Authenticator app (TOTP) | Knowledge + Possession | High | Device theft, social engineering (as in Uber) |
| Password + Hardware key (FIDO2) | Knowledge + Possession | Very High | Physical key theft |
| Biometric + Hardware key | Inherence + Possession | Very High | Device-specific attacks |
| Passkeys (FIDO2 passwordless) | Possession + Inherence | Very High | Account recovery vulnerabilities |
Example. Both Twilio and Cloudflare fell victim to the same phishing campaign in August 2022.[5] A fake login page was what the attackers got employees to go to via SMS message. Credentials and TOTP codes went to the attackers in real time where they were used right away to authenticate.
The breach that affected 125 customer organizations hit Twilio. Cloudflare remained unaffected by using hardware security keys instead of TOTP codes. Cryptographically tied to the legitimate domain, the hardware keys make them immune to phishing no matter how convincing the fake site looks.
Authentication Protocols: The Technical Foundation
Several protocols underpin modern authentication implementations.
Passwords and hashing: Passwords should never be stored in plaintext. Modern systems use memory-hard hashing algorithms (Argon2, bcrypt, scrypt) that are computationally expensive to reverse. The "memory-hard" property defeats GPU-based cracking attacks that can otherwise test billions of combinations per second.
Session management: After authentication, servers issue a session token that the client presents with subsequent requests.
Authentication does not end at login. After verifying identity, the system sets up a session (using a cookie, token or session ID) that keeps the authenticated state going across later requests. Weak session management is how attackers keep access going after initial authentication gets revoked.
JSON Web Tokens (JWT): A widely-used format for authentication tokens in APIs and single-page applications. JWTs contain claims (user identity, permissions, expiration) signed by the server. Clients present them with each request without server-side session storage.
Signature verification must be done correctly for JWT security and systems that accepted unsigned tokens fell prey to what is known as the "alg:none" attack.
FIDO2/WebAuthn: The modern standard for phishing-resistant authentication. WebAuthn uses public-key cryptography: during registration, the authenticator generates a key pair and the public key is stored with the service. During login, the authenticator signs a challenge using the private key, which never leaves the device.
Because the keys are domain-bound, they cannot be used on a phishing site even if the user is deceived into visiting one.
Passkeys. These are the consumer-friendly version of FIDO2. A passkey replaces passwords completely by drawing on device biometrics to authorize access to the private key. Apple, Google and Microsoft all back passkeys natively and offer cross-device recovery synchronization as well.
Passkeys have been put in place by major services including Apple, Google, PayPal, GitHub and eBay through 2024.
The Mechanics of Authorization
Controlling Access After Identity Is Established
Authorization (often abbreviated AuthZ) decides what an authenticated user may do. Authentication is like the bouncer checking your ID at the door. Authorization is the system that says whether you get into the VIP section, back stage, the sound equipment or only into the general admission area.
Theory makes authorization seem simple but it grows extraordinarily complex in production systems. In a hospital electronic health record system as an example, a nurse should have access to patient vitals and medication orders but not to billing data. Charges and insurance information go to a billing clerk but clinical notes do not.
An attending physician should see everything for their patients but nothing about patients they are not treating. An administrator should manage user accounts but not read any patient clinical data.
Researchers can see de-identified aggregate data, but not individual records. Each database query, API request and user interface action requires that all of these rules be enforced across them all and there must be no exception, no hit on performance and no way for insiders or attackers to get in.
Authorization Models
Role-Based Access Control (RBAC). Roles get permissions assigned to them and users get roles assigned to them. The Developer role comes with permissions to read source code repositories and deploy to staging and the Finance Manager role has permissions to approve expenses and see financial reports.
In a "Customer Support" role, there are permissions to see customer account details but not payment card numbers.
RBAC works well when organizations have clearly defined job functions with stable permission requirements.
It becomes unwieldy when the number of roles proliferates to accommodate edge cases, many large organizations have hundreds of roles that overlap in confusing ways, and users accumulate role memberships over time without ever losing them.
Example: Amazon Web Services IAM is one of the most widely deployed RBAC implementations in the world.
Misconfigured IAM permissions are what AWS says drives most cloud security incidents coming from AWS and the reason is not that RBAC is fundamentally flawed. It is that organizations find it hard to set up roles with the right scope and fail consistently to check and trim permissions over time.
Attribute-Based Access Control (ABAC). Authorization decisions take into account attributes of the user, the resource being accessed, the action being requested as well as the environmental context.
Expense reports up to $10,000 can be approved by a regional manager for employees reporting to them and submitted during the current fiscal quarter from an MDM-enrolled device as per an ABAC rule. ABAC is more granular and flexible than RBAC yet implementing, auditing and troubleshooting it is much more complex.
Policy-Based Access Control (PBAC): Centralized policies expressed in a policy language combine elements of RBAC and ABAC. Open Policy Agent (OPA) is the dominant open-source policy engine, allowing organizations to express authorization rules as Rego policies that are version-controlled, tested, and deployed consistently.[9]
Microservice architectures gain a lot from PBAC where authorization logic would otherwise get duplicated across services.
Relationship-Based Access Control (ReBAC): Access is determined by the relationship between the user and the specific resource. Google's Zanzibar system, published as a research paper in 2019, handles authorization for Google Drive, Google Photos, YouTube, and other products.[8]
The question is not "does user X have the Editor role?" but "is user X an editor of document Y specifically?" ReBAC naturally handles permission inheritance (access to a folder grants access to its contents) and sharing (explicitly sharing a document with a specific person).
The Principle of Least Privilege
Of all authorization principles, the most important is least privilege. Every user, process and system component should have only the minimum permissions needed to do its intended job. Nothing extra.
Least privilege is both a security principle and an operational rule. Security wise, it limits the blast radius of any compromise. An attacker who gets hold of a read-only service account cannot change any data or move up to other systems.
Operations work by forcing clarity on what each component actually needs and they stop the build up of permissions that get accumulated just in case.
Organizations find it hard to manage permissions. It is easy to grant them and often happens under pressure ("I need access to X to meet this deadline"). Permissions get revoked only when people know they are no longer needed and that calls for visibility and processes most companies do not have.
The result: permission accumulation over time, where long-tenured employees and long-running services accumulate permissions far beyond what their current function requires.
Example: Twitter's 2020 breach, in which attackers took over verified accounts (including Barack Obama's, Elon Musk's, and Apple's) to run a Bitcoin scam, was enabled by access to internal administrative tools by too many employees.
Twitter's post-incident communications acknowledged that internal access had not been sufficiently limited: employees had access to tools they did not need for their job functions, and social engineering of a few employees gave the attackers access to those tools.
Where Authentication Ends and Authorization Begins
The Handoff That Organizations Botch
First comes authentication and then authorization and permissions get applied to every action that follows. Many companies combine these steps or cut out authorization entirely and that leaves gaps that are dangerous.
The "authenticated means authorized" fallacy: Many systems treat a successful login as implicit authorization for everything the system can do. Once inside, access is unrestricted.
The attacker had an authenticated session that gave access to internal tools that should have needed separate and more restrictive authorization checks and this is how the Uber breach got worse.
Client-side authorization: Some applications check permissions only in the user interface, hiding buttons or menu items from users who do not have permission. But the underlying API endpoints accept any authenticated request without checking permissions.
An attacker who discovers the API bypasses the UI entirely. This is a category error: the UI is presentation, not security.
Example. In 2019, a security researcher discovered that First American Financial Corporation had made 885 million sensitive mortgage documents public. The system checked authorization on the first request but the app used sequential document IDs.
Incrementing the ID number in the URL revealed other customers' documents without any additional authorization check. The application knew who you were (authentication existed). It did not check whether you should see what you were requesting (authorization did not exist at the resource level).
Broken Object Level Authorization (BOLA): OWASP's API Security Top 10 lists BOLA as the number one API security risk, and it has occupied that position in multiple editions.[2]
BOLA occurs when an API endpoint accepts a resource identifier from the user (a customer ID, a document ID, an account number) and returns data without verifying that the authenticated user has permission to access that specific resource. The system knows who you are.
It does not ask whether you should have access to this particular thing.
Broken Function Level Authorization: Administrative functionality accessible to non-administrative users.
A security researcher discovered in 2021 that Parler's API gave any authenticated user access to administrative endpoints. That included being able to list and export all user data, deleted posts that came with embedded GPS metadata among them.
The platform kept this data systematically archived before going offline and that had large effects on user privacy.
Privilege Escalation: The Authorization Attack
Privilege escalation means getting permissions beyond what was first authorized by exploiting gaps in how authorization was put in place.
Horizontal escalation: Accessing another user's resources at the same permission level. A customer accessing another customer's order history. A tenant accessing another tenant's data in a multi-tenant system.
Vertical escalation: Gaining higher permissions than the current user level. A regular user accessing administrative functions. A low-privilege service account gaining database administrator access.
A web application vulnerability was exploited (Apache Struts CVE-2017-5638) that started the 2017 Equifax breach and internal systems without authorization boundaries then made things much worse. Once inside the application server, attackers had minimal restriction and were able to move laterally across systems.
Without any extra authorization checks, internal databases holding sensitive credit information could be accessed from the compromised application server.
Modern Authentication Protocols
Authentication concerns are separated, interoperability is enabled and users can authenticate through identity providers instead of keeping separate credentials with each service. A few protocols run the modern web by doing this.
OAuth 2.0 is an authorization framework (despite its name often being associated with authentication). It allows users to grant third-party applications limited access to their resources on another service without sharing their credentials.
When you click "Continue with Google" on a website, OAuth 2.0 handles the authorization grant: you authorize the website to receive specific information from Google (your name and email, perhaps) without giving the website your Google password.
OpenID Connect (OIDC) is an authentication layer built on top of OAuth 2.0. While OAuth 2.0 answers "what can this application access?", OIDC answers "who is this person?" OIDC provides an ID token containing verified identity claims, name, email, subject identifier, that the relying party can trust because they are signed by the identity provider.
SAML 2.0 (Security Assertion Markup Language). This is an older XML-based protocol that is common in enterprise single sign-on (SSO) environments.
When an employee logs into their corporate identity provider and can access Salesforce, Workday, and dozens of other enterprise applications without re-authenticating, SAML is typically the underlying protocol.
SAML's XML verbosity and age make it less suited for mobile and single-page applications.
FIDO2/WebAuthn. This is the W3C standard for passwordless authentication through public-key cryptography. It is run by the World Wide Web Consortium.[7] Private keys stay on the device and authentication calls for the person to be present physically by touching a hardware key or going through biometric verification.
Most importantly, credentials are domain-bound, a FIDO2 key registered for "google.com" cannot be used to authenticate to "g00gle.com" even if the user is deceived into visiting the fake site.
Implementing Authentication and Authorization Correctly
Principles That Prevent Catastrophe
Never build authentication from scratch. There is a deceptive complexity to authentication that comes with failure modes that are subtle and take years of production work as well as security research to discover.
Custom-built authentication systems have been affected by timing attacks, session management flaws, account recovery weaknesses as well as mistakes in how cryptography is implemented.
Choose between identity services that are set up already (Auth0, Okta, AWS Cognito, Azure Active Directory) or tested open-source libraries (Passport.js, Spring Security, Devise). These services may come with a cost but they are far cheaper than a data breach.
Enforce authorization server-side on every request. Authorization must be done server-side for each request. It is not once per session. It is not once at login. Each API call, each resource access and each action needs independent authorization by server-side code that cannot get around it by changing the client. Permission checks on the client side are UX improvements and not security controls.
Apply least privilege rigorously and continuously. Begin with no permissions and give only what can be demonstrated as necessary. Set up regular access reviews that look at how permissions are actually used and permissions that were granted but never used are candidates for being revoked.
Automate permission revocation when employees change roles or leave the organization.
Implement proper session management. Sessions have to expire after inactivity and how long that takes depends on sensitivity. Banking needs a timeout of 30 minutes and content sites need a longer one. Tokens lasting a long time call for refresh token rotation and each time a token is refreshed, the old token gets invalidated before it.
All sessions must be invalidated when passwords are changed or accounts are locked.
Log authentication and authorization events comprehensively. Log every login attempt with success and failure noted, timestamp, IP address and user agent and record every authorization decision that was granted or denied. Log too every change in permission that says who changed what, when and for whom.
As the basis for breach detection and forensic analysis, these logs are essential. You cannot tell if a breach happened or rebuild what an attacker got hold of without them.
Separate authentication and authorization architecturally. Verification of identity and token issuance come from dedicated authentication services. Authorization services separate from those evaluate access policies. Each concern can then be reviewed, scaled and evolved independently by the architecture.
It also prevents the common failure mode of authorization logic scattered across application code that becomes impossible to audit.
Zero Trust Architecture
Zero Trust is the security model that does away with the traditional assumption that the internal network is trusted.
Every access request, be it from inside or outside the corporate network, gets authenticated and authorized based on identity, device health and resource sensitivity. That is what "never trust, always verify" means.
Google's BeyondCorp initiative, launched after Operation Aurora (a sophisticated attack by Chinese state actors targeting Google's source code and user accounts in 2009) and documented in a series of papers beginning in 2014, was an early implementation of Zero Trust.[6]
BeyondCorp got rid of the corporate VPN as a trust boundary. Every time a Google employee logs into a resource, authentication takes place using strong credentials and the device gets a continuous check to see if it meets the requirements (encryption turned on, patches up to date and no malware). The decision on whether to grant access takes into account how sensitive the resource being requested is.
Employees can work securely from any location on any network because security does not depend on network location.
Mature identity infrastructure, full device management and fine-grained authorization policies are what Zero Trust calls for. Most organizations measure their path to Zero Trust in years.
Trust should be minimized rather than assumed and access should be given based on verified identity and context instead of the network perimeter, which is the main direction from which comes the insight.
Adaptive Authentication and Risk-Based Controls
Risk signals drive modern authentication systems to change authentication requirements on the fly for each access attempt depending on the risk of that particular attempt.
Low-risk signals are accessing from a known device, from a usual place and at typical hours. The operations performed are routine ones.
High-risk signals include accessing from an unrecognized device, from an unusual geographic location, after a long period of inactivity, attempting a sensitive action such as a wire transfer, changing a password or adding a new authentication method or patterns that match what goes with taking over an account.
Authentication is frictionless when risk is low. Step-up authentication becomes needed when risk is high and that means re-entering the password, finishing MFA or getting support to verify. Security gets both high friction where it is needed and low friction where it is appropriate from this method.
Example. Google has documented its risk-based authentication in threat research publications. When a login matches what the user's history shows for device and location, there is minimal friction and the login goes through.
When it occurs from a new country immediately after a prior login from another country (physically impossible travel), Google requires step-up verification even if the correct password was provided.
The Real-World Decision Matrix
Every system does not call for the same level of authentication and authorization rigor. A public blog and a payment processing system come with different risk profiles and user bases.
When security controls line up with actual risk levels, both under-protection of sensitive systems and over-protection that puts users off and drives them to find workarounds get avoided.
| System Type | Authentication Approach | Authorization Approach |
|---|---|---|
| Public content site | Optional accounts, social login | Minimal, most content is public |
| E-commerce platform | MFA available, email verification | Per-user order history, admin vs. customer roles |
| Banking application | MFA mandatory, step-up for sensitive actions | Fine-grained per-account, per-transaction limits |
| Healthcare system | MFA mandatory, session timeouts, audit trail | RBAC + ABAC, patient consent, regulatory compliance |
| Enterprise internal tools | SSO with MFA, device health checks | RBAC tied to HR systems, automated provisioning and deprovisioning |
| API platform | API keys, OAuth 2.0, short-lived JWT tokens | Scoped permissions per key, rate limiting by scope |
| Financial infrastructure | Hardware keys, biometrics, multiple approvers | Four-eyes principle for critical actions, time-limited elevated access |
Real security tradeoffs exist. Stronger authentication brings more friction and finer-grained authorization brings more implementation complexity and performance overhead. Companies that see both only as binary choices, fully locked down or wide open, fail to get the nuanced implementation that gives security matching the level of risk.
The Compounding Effect of Getting It Right
When both authentication and authorization get implemented properly, organizations do not just prevent breaches and they run more efficiently as well.
Clear, well-maintained and consistently enforced access controls mean that employees spend less time waiting for permissions, administrators spend less time handling ad-hoc access requests and security teams spend less time looking into suspicious activity that proves to be legitimate users with permissions they should not have had.
The Uber breach, Twitter hack, First American Financial exposure and Equifax escalation all showed authentication appearing together in these attacks. To get in, attackers had to overcome something and once inside, there was little to stop moving laterally and getting data so authorization was weak each time.
The front door was locked; the internal rooms were wide open.
Who knocked is told by authentication. Authorization says which rooms they may enter and what they may touch. Both count equally and neither makes up for the other failing.
Research Evidence: What Studies Say About Authentication Failures
Studies that come from both academia and industry have found consistent, quantifiable results on which parts of authentication and authorization systems fail and which interventions actually work.
Bonneau et al. (2012), "The Quest to Replace Passwords". This is a landmark study by Joseph Bonneau, Cormac Herley, Paul van Oorschot and Frank Stajano that came out at the IEEE Symposium on Security and Privacy. It looked at 35 alternative authentication systems against passwords across 25 benefits.
No single scheme beat passwords across all dimensions at once. The research showed that security improved for schemes that usually made deployability or usability worse and that tradeoff explains why passwords held up against decades of criticism.
The paper's framework for evaluating authentication systems remains a standard reference for researchers.
Das et al. (2014), "The Tangled Web of Password Reuse", Researchers from Carnegie Mellon University and UNC Chapel Hill looked at leaked password datasets from several sites.
Across multiple sites, 43% to 51% of users were found to be reusing passwords often with only minor changes like adding a "1" or altering capitalization. That password reuse behavior makes possible the credential stuffing attacks discussed in every part of this article.
The study showed that password reuse is a structural habit and not just an individual failure that users who understand the risk continue to make. Keeping dozens of different passwords without tooling puts too much cognitive strain on people to be sustainable.
Florencio and Herley (2007), "A Large-Scale Study of Web Password Habits". A total of 544,960 web users were studied by Microsoft Research for password habits. The research showed that the typical user had 6.5 passwords, each shared across 3.9 sites and typed their passwords 8 times a day.
The research looked at how many accounts people have and found that the more accounts someone has, the weaker their average password tends to be.
Google and FIDO Alliance (2019), "New Research. How Effective Is Basic Account Hygiene at Preventing Hijacking" It was a study done together with New York University and the University of California San Diego that looked at account hijacking attempts against Google accounts.
Targeted phishing attacks were stopped 76% of the time and bulk phishing attacks 96% of the time by SMS-based authentication. On-device prompts blocked 99% of bulk phishing attacks and security keys (FIDO2) blocked 100% of both targeted and bulk phishing attacks.
The most rigorous comparative data on the practical effectiveness of different MFA methods came from this study. It showed that not all second factors are equal and that the choice of implementation matters as much as deciding to use MFA at all.
Saltzer and Schroeder (1975), "The Protection of Information in Computer Systems": This foundational MIT paper articulated the principle of least privilege more than fifty years ago, along with seven other security design principles that remain as valid today as when they were written.
The principle that "every program and every user of the system should operate using the least set of privileges necessary to complete the job" is still violated in most production systems.
The paper demonstrates that the authorization failures described in contemporary breach reports are not failures of knowledge, the principles have been known for half a century, but of organizational practice.
Enterprise Case Studies: Authorization Failures at Scale
Across industries and real-world authorization failures show how theoretical principles either do or do not get translated into production deployments in practice.
Capital One (2019). A breach that affected 106 million people in the United States and Canada showed how authorization failures add up. The attacker was a former Amazon Web Services employee who took advantage of a misconfiguration in the web application firewall to carry out a server-side request forgery attack.
From the AWS instance metadata service came retrieval of temporary IAM credentials that the application could get. The credentials had much more permission than the application needed and that was a direct breach of least privilege.
Over 700 S3 buckets were opened up by the temporary credentials that were authorized. In the end, Capital One paid $80 million to the U.S. Office of the Comptroller of the Currency and another $190 million in a class-action settlement.
Every automated cloud security posture management tool would have found that IAM permission was misconfigured.
Getting authorization right carried no effective cost at all and the price of getting it wrong was $270 million in settlements alone before adding in what it costs to fix.
Marriott International Starwood (2018): The breach of the Starwood guest reservation database, which began in 2014 before Marriott acquired Starwood in 2016, exposed 383 million guest records including passport numbers and payment card information.
Once the breach happened, investigation revealed that authorization controls within the Starwood network did not pick up or prevent any data access by unauthorized parties who had put in place persistent access.
Monitoring and authorization enforcement did not signal unusual data access patterns and that is why four years went by without the breach being detected. The company paid the UK Information Commissioner's Office a fine of $18.4 million and faced regulatory probes around the world.
A failure mode particular to acquisitions is illustrated by the case. Without doing security due diligence that would have shown the existing compromise and the underlying authorization weaknesses, Marriott took over Starwood's authorization architecture.
Microsoft (2023), Storm-0558: Chinese state-linked hackers obtained a Microsoft signing key: through a process Microsoft's investigation described as a combination of authentication service crash dump data containing the key and insufficient access controls that failed to prevent its unauthorized use, and used it to forge authentication tokens for accessing email accounts at the U.S. State Department, Department of Commerce, and other government agencies.
The attack took advantage of a failure where an authentication artifact (the signing key) appeared where it should not have and where tokens signed with a consumer key got past validation and were accepted by enterprise systems.
The investigation by CISA and the Cybersecurity Safety Review Board's (CSRB) found that Microsoft's security culture as well as its authorization controls were "inadequate" and that the breach could have been prevented.
Microsoft responded with a "Secure Future Initiative" following the incident and also changed how cryptographic keys get managed and isolated.
Parler (2021). Around 1 terabyte of Parler content was archived by researchers, which included deleted posts that had embedded GPS metadata, before the platform shut down following the January 6, 2021 U.S. Capitol events.
Parler's API failed to enforce proper authorization on administrative and data export endpoints and that is why the archival was possible. Any authenticated user could get into endpoints that should have stayed restricted to admins.
This is a textbook broken function level authorization failure: the API accepted authenticated requests without verifying whether the authenticated user was authorized for the specific function being invoked.
With precision, researchers were able to geolocate users using GPS metadata embedded in the images that got uploaded. That showed how an authorization failure can have consequences far beyond the platform itself.
GitHub Supply Chain (2022): Attackers used stolen OAuth tokens from two third-party integrators (Heroku and Travis CI) to access private GitHub repositories belonging to dozens of organizations. The OAuth tokens had been granted excessive scopes: broad repository access rather than the specific, limited access each integration required.
Authorization failures in OAuth scope management through the breach showed that the attack surface extends beyond direct credential compromise. When an attacker gets a token with too broad a scope, that attacker inherits all of those permissions.
GitHub put warnings in place when OAuth apps request too broad a scope and it also made monitoring better for suspicious token use. The incident showed that least privilege applies to OAuth scopes just as strictly as it does to permissions for user accounts.
Sources & Further Reading
- Verizon. "2023 Data Breach Investigations Report." verizon.com, 2023.
- OWASP Foundation. "OWASP API Security Top 10." owasp.org, 2023. View source
- Google Security. "Security Keys Neutralize Phishing." , 2018.
- NIST. "Digital Identity Guidelines: Authentication and Lifecycle Management." SP 800-63B. View source
- Cloudflare. "How Cloudflare Defeated a Sophisticated Phishing Attack." blog.cloudflare.com, 2022.
- Google. "BeyondCorp: A New Approach to Enterprise Security." research.google, 2014.
- FIDO Alliance. "FIDO2: WebAuthn and CTAP." fidoalliance.org. View source
- Zanzibar: "Google's Consistent, Global Authorization System." USENIX ATC 2019.
- Open Policy Agent. "OPA Documentation." openpolicyagent.org. View source
- Microsoft. "MFA Blocks 99.9% of Account Compromise Attacks." microsoft.com, 2023.








