Apple Auth Bypass: One Default Password for Every User
Every applicant to an Apple educator forum was given the same hidden default password, and the forum's original username-and-password login was still active. Attackers could log in as an approved member, then use a non-canonical admin path to reach the core administrator and execute code on the server.
Published on masimshahzad.medium.com
Apple users signed in with their Apple ID, yet the forum quietly gave every applicant the same password. That single design choice turned into an Apple auth bypass on the Apple Distinguished Educators site, found in 2020 by Sam Curry’s five-person team.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
Apple Distinguished Educators (ADE) was an invitation-only forum for educators, built on Jive. Jive is a product that normally authenticates users with a username and password. Apple added custom middleware on top so that people could sign in with their Apple account instead, and newcomers filled in an application form that moderators reviewed before approving the account.
That combination, a third-party product with its own local login plus a bolted-on SSO layer, is where the whole story sits. The team reported they could have run commands on the ade.apple.com server.

The illustration above is an AI-generated image used to head the case study; it carries no technical content.
Setup
The work was done in 2020 by a five-person team: Sam Curry, Brett Buerhaus, Ben Sadeghipour, Samuel Erb and Tanner Barnes. The primary source is Sam Curry's write-up We Hacked Apple for 3 Months: Here's What We Found, published on 7 October 2020 with Apple's permission, corroborated by Ars Technica and The Register.
The preconditions that matter for this bug are all on the target side:
- An SSO-provisioned account on the ADE forum, created by submitting the application form.
- The local Jive username-and-password login still being reachable, even though users were expected to arrive through Apple sign-in.
- An administrator account existing on the same Jive instance, with the admin console protected by a path-based rule.
The published account deliberately omits values, requests and reproduction steps, so what follows describes the mechanism rather than replayable traffic.
Finding it
The application form carried a hidden password field. Its value was identical for every applicant, and that value was stored against the newly created account. Nobody was meant to use it, because everyone was supposed to authenticate through Apple sign-in and never see a password prompt.
Two things made this worth chasing. First, a password that is the same for every account is not a secret at all: it is a public constant that happens to be stored in a password column. Second, the SSO layer did not remove Jive's native login. The product's original authentication path was still there, and it would happily check that stored value.
Exploitation
Step 1: log in through the forgotten local path
The team took short usernames and paired them with the shared value from the hidden form field. Within minutes they were logged in as an approved member. No Apple sign-in was involved; the login went through Jive's own username-and-password path.
Step 2: enumerate administrators
Once inside as an ordinary member, the user list was readable. From it the team identified administrator accounts and moved their attention to the admin console.
Step 3: get past the admin path restriction
The admin console appeared to be restricted, likely by network location rather than by role alone. The team used a variant of the admin path that carried an extra character: the access rule did not recognise the variant as the admin path, but the application still routed it to the admin console. That mismatch between what the rule inspected and what the router resolved is the second bug.
Step 4: reach the core administrator
After trying a few admin accounts, they reached the core administrator. That account's built-in features allow code execution, which the team reported could have turned the bypass into command execution on the server.
Root cause
There are two distinct mistakes, and they compound.
The first is a default credential on SSO-provisioned accounts (CWE-1392). The provisioning flow wrote a fixed password into every new account instead of writing none. Because Jive's local login remained enabled, that constant was a usable credential for any account whose username could be guessed. The SSO design assumed the local login was unreachable; nothing enforced that assumption.
The second is an authorisation decision made on a non-canonical path (CWE-647, and CWE-288 for the alternate-path aspect). The access rule and the router disagreed about what the request path was. The rule did not recognise the variant as the admin path, while the application still routed it into the admin console. Any path-based control has this weakness when it inspects the raw request rather than the path that will actually be dispatched.
Neither defence stopped the chain because neither was designed for the other's failure mode: the SSO layer did not disable local authentication, and the admin rule did not normalise before deciding.
Impact
The team reported that they could have run commands on the ade.apple.com server, reached the internal LDAP service that manages user accounts, and reached most of Apple's internal network. The conditions are worth keeping explicit: this required an approved account on the forum and the path trick to enter the admin console, after which the core administrator's built-in features provided code execution.
In context, this was one of 55 findings between July and October 2020, 11 of which the team rated critical. By 8 October 2020 the team had received 32 Apple payments totalling $288,500 across their findings. No per-bug bounty is stated, and no CVE was assigned.
Fix
Apple fixed and retested these issues in 2020. The published account does not describe the specific changes Apple made.
The defensive shape the author proposes is as follows.
- SSO accounts get no password. Store none, so no shared secret can exist.
- Close the alternate door. Disable local login for federated users, and rate-limit what remains.
- Authorise the canonical path. Normalise once, then check and route that same path.
The accompanying pseudocode, reproduced as published:
# Pseudocode: SSO-only accounts have no password; admin checks use the routed pathdef provision_from_sso(profile): return users.create(username=profile.username, email=profile.email, password_hash=None, auth_source="sso") # ignore any form passworddef password_login(username, password, ip): if not limiter.allow(("login", ip, username)): return deny("rate_limited") u = users.get(username) if u is None or u.auth_source != "local" or u.password_hash is None: verify_dummy_hash(password) # same timing for every refusal return deny() return allow(u) if verify_hash(password, u.password_hash) else deny()def handle(request, user): path = canonicalize(request.raw_path) # strip ;params, decode once, resolve dots if path.startswith("/admin") and not (user and user.is_admin and admin_network(request)): return deny() return router.dispatch(path, request) # dispatch exactly what was checked# Test: admin path variants with ;params or encoding -> denied for every non-admin
The three ideas in it are: provisioning ignores any password supplied by the form, password login refuses any account whose auth_source is not local and does so with the same timing as a real check, and the request handler canonicalises once and then both authorises and dispatches the same canonical string.
Variants to test
- Hidden password fields on registration forms. Submit the application form and inspect the resulting account. A positive result is a password field in the form body that is not shown to the user and whose value is accepted by the product's native login.
- Native login left enabled behind SSO. For any product with a federated login bolted on, try the product's own username-and-password endpoint with a known username and the default value. A positive result is a session issued without touching the identity provider.
- Path normalisation mismatches on protected prefixes. Request the admin path with extra characters, path parameters or encoding, and compare the access decision with the response. A positive result is a denial for the plain path and a rendered admin page for the variant.
- Role escalation from the user list. As a low-privilege member, enumerate users and identify administrators. A positive result is administrator usernames exposed to a non-administrator, which makes the default-credential step practical.
- Default credentials on provisioned accounts generally. Wherever accounts are created by a workflow rather than by the user, check whether a fixed value is stored. A positive result is any account whose stored credential is identical to another account's.
What happened, in plain words
Imagine a members-only club. To get in, you are supposed to show your Apple membership card at the front door. But the club also has an old side door with a keypad, and the code for that keypad is the same for every single member. Nobody is supposed to use the side door, so nobody bothers to change the code. One day, someone tries the side door, types the code, and walks straight in. Then they find a way into the manager's office, and from there into the building's control room.
That is the shape of this bug. Apple Distinguished Educators (ADE) was an invitation-only forum for educators. It was built on a product called Jive, which normally logs people in with a username and a password. Apple added its own layer on top so people could sign in with their Apple account instead, and new people filled in an application form that moderators reviewed before approving the account.
The problem was that the application form contained a hidden password field, and its value was the same for every applicant. That value was saved against each new account. Because Jive's own username-and-password login was still switched on, the team could log in as an approved member without ever touching Apple sign-in. From there, the team found a way past the admin console's restriction and reached the core administrator account, whose built-in features allow running code on the server.

The illustration above is an AI-generated image used to head the case study; it carries no technical content.
The pieces you need to know first
Before the steps make sense, here are the basic ideas, explained from zero.
- A forum is a website where people post messages and replies. This one was for educators, and you could only join if a moderator approved your application.
- Jive is a commercial product that companies buy to run forums and internal communities. Out of the box, it logs people in with a username and a password that it stores itself. Think of it as a ready-made clubhouse with its own front door and its own keypad.
- SSO (single sign-on) means logging in once with an account you already have, such as your Apple account, and being let into other sites without typing a separate password. Apple bolted this on top of Jive so educators could use their Apple account. Think of it as adding a new membership-card reader next to the old keypad.
- Middleware is extra software that sits between the visitor and the main application, doing jobs like checking who you are before your request reaches the forum. Apple's SSO layer was middleware.
- Authentication means proving who you are, like showing a passport. Authorisation means deciding what you are allowed to do once you are known, like a passport not granting you access to every room in the building.
- An administrator account is a user with extra powers, including access to an admin console, a separate area of the site where settings and users are managed.
- A path is the part of a web address after the site name. In
ade.apple.com/admin, the path is/admin. Servers often use paths to decide who may see what. - Code execution means getting the server to run commands that you supply, as if you had a keyboard on the machine itself.
The setup
The work was done in 2020 by a five-person team: Sam Curry, Brett Buerhaus, Ben Sadeghipour, Samuel Erb and Tanner Barnes. The primary source is Sam Curry's write-up We Hacked Apple for 3 Months: Here's What We Found, published on 7 October 2020 with Apple's permission, corroborated by Ars Technica and The Register.
Three conditions on the target side made the bug possible:
- An account on the ADE forum created through the application form, which the SSO layer provisioned.
- Jive's own username-and-password login still being reachable, even though users were expected to arrive through Apple sign-in.
- An administrator account existing on the same Jive instance, with the admin console protected by a rule based on the request path.
The published account deliberately leaves out values, requests and reproduction steps, so what follows describes the mechanism rather than traffic you could replay.
Finding it
The application form carried a hidden password field. Its value was identical for every applicant, and that value was stored against the newly created account. Nobody was meant to use it, because everyone was supposed to authenticate through Apple sign-in and never see a password prompt.
Two things made this worth chasing. First, a password that is the same for every account is not a secret at all: it is a public constant that happens to be stored in a password column. Second, the SSO layer did not remove Jive's native login. The product's original authentication path was still there, and it would happily check that stored value.
A useful comparison: putting a new lock on the front door does nothing if the old back door still opens with a key that everyone was handed by mistake.
Exploitation
Step 1: log in through the forgotten local path
The team took short usernames and paired them with the shared value from the hidden form field. Within minutes they were logged in as an approved member. No Apple sign-in was involved; the login went through Jive's own username-and-password path.
Why this step was taken: the hidden field proved that a fixed value existed, and the still-enabled local login meant that value could be tried directly. If the local login had been switched off for SSO users, the shared value would have been useless.
Step 2: enumerate administrators
Once inside as an ordinary member, the user list was readable. From it the team identified administrator accounts and moved their attention to the admin console.
Why this step was taken: knowing which accounts hold power tells you what to aim at next. A member list that shows administrators to ordinary members is itself a small leak, because it hands an attacker a target list.
Step 3: get past the admin path restriction
The admin console appeared to be restricted, likely by network location rather than by role alone. The team used a variant of the admin path that carried an extra character: the access rule did not recognise the variant as the admin path, but the application still routed it to the admin console. That mismatch between what the rule inspected and what the router resolved is the second bug.
Why this step was taken: the plain admin path was refused, so the team tested whether the rule and the application read the address the same way. They did not. Think of a guard who checks the name on a badge but not the photo: the badge says one thing, the person is another, and the door still opens.
Step 4: reach the core administrator
After trying a few admin accounts, they reached the core administrator. That account's built-in features allow code execution, which the team reported could have turned the bypass into command execution on the server.
Why this step was taken: the goal was not merely to see the admin pages but to find out how far the access reached. The core administrator account was the one whose features could run commands.
Root cause
There are two distinct mistakes, and they compound.
The first is a default credential on SSO-provisioned accounts (CWE-1392). The provisioning flow wrote a fixed password into every new account instead of writing none. Because Jive's local login remained enabled, that constant was a usable credential for any account whose username could be guessed. The SSO design assumed the local login was unreachable; nothing enforced that assumption.
The second is an authorisation decision made on a non-canonical path (CWE-647, and CWE-288 for the alternate-path aspect). The access rule and the router disagreed about what the request path was. The rule did not recognise the variant as the admin path, while the application still routed it into the admin console. Any path-based control has this weakness when it inspects the raw request rather than the path that will actually be dispatched.
Neither defence stopped the chain because neither was designed for the other's failure mode: the SSO layer did not disable local authentication, and the admin rule did not normalise before deciding.
Impact
The team reported that they could have run commands on the ade.apple.com server, reached the internal LDAP service that manages user accounts, and reached most of Apple's internal network. The conditions are worth keeping explicit: this required an approved account on the forum and the path trick to enter the admin console, after which the core administrator's built-in features provided code execution.
In context, this was one of 55 findings between July and October 2020, 11 of which the team rated critical. By 8 October 2020 the team had received 32 Apple payments totalling $288,500 across their findings. No per-bug bounty is stated, and no CVE was assigned.
Fix
Apple fixed and retested these issues in 2020. The published account does not describe the specific changes Apple made.
The defensive shape the author proposes is as follows.
- SSO accounts get no password. Store none, so no shared secret can exist.
- Close the alternate door. Disable local login for federated users, and rate-limit what remains.
- Authorise the canonical path. Normalise once, then check and route that same path.
The accompanying pseudocode, reproduced as published:
# Pseudocode: SSO-only accounts have no password; admin checks use the routed pathdef provision_from_sso(profile): return users.create(username=profile.username, email=profile.email, password_hash=None, auth_source="sso") # ignore any form passworddef password_login(username, password, ip): if not limiter.allow(("login", ip, username)): return deny("rate_limited") u = users.get(username) if u is None or u.auth_source != "local" or u.password_hash is None: verify_dummy_hash(password) # same timing for every refusal return deny() return allow(u) if verify_hash(password, u.password_hash) else deny()def handle(request, user): path = canonicalize(request.raw_path) # strip ;params, decode once, resolve dots if path.startswith("/admin") and not (user and user.is_admin and admin_network(request)): return deny() return router.dispatch(path, request) # dispatch exactly what was checked# Test: admin path variants with ;params or encoding -> denied for every non-admin
Line by line, in plain words:
def provision_from_sso(profile):starts the routine that creates an account when someone arrives through Apple sign-in.return users.create(username=profile.username, email=profile.email,creates the account using the name and email from the Apple profile.password_hash=None, auth_source="sso")stores no password at all and records that this account signs in through SSO. The comment# ignore any form passwordsays the form's password value is thrown away.def password_login(username, password, ip):starts the routine that handles a traditional username-and-password login.if not limiter.allow(("login", ip, username)):checks a rate limiter, which counts attempts per address and username, so someone cannot guess endlessly.return deny("rate_limited")refuses the attempt once the limit is hit.u = users.get(username)looks up the account.if u is None or u.auth_source != "local" or u.password_hash is None:refuses if the account does not exist, does not use local passwords, or has no password stored.verify_dummy_hash(password)does a fake password check so the refusal takes the same time as a real check. The comment# same timing for every refusalexplains why: timing differences can otherwise tell an attacker which usernames exist.return deny()refuses the login.return allow(u) if verify_hash(password, u.password_hash) else deny()lets the user in only if the submitted password matches the stored hash.def handle(request, user):starts the routine that handles an incoming request.path = canonicalize(request.raw_path)turns the raw address into one standard form. The comment# strip ;params, decode once, resolve dotslists the clean-up: remove extra parameters, decode encoded characters once, and resolve..segments.if path.startswith("/admin") and not (user and user.is_admin and admin_network(request)):refuses anyone who is not an administrator on the admin network from reaching anything under/admin.return deny()refuses the request.return router.dispatch(path, request)sends the request onward using exactly the cleaned path that was checked. The comment# dispatch exactly what was checkedis the point: the rule and the router must see the same string.- The final comment,
# Test: admin path variants with ;params or encoding -> denied for every non-admin, is a reminder to test that tricks with extra characters or encoding are refused.
The three ideas in it are: provisioning ignores any password supplied by the form, password login refuses any account whose auth_source is not local and does so with the same timing as a real check, and the request handler canonicalises once and then both authorises and dispatches the same canonical string.
Variants to test
If you are learning to look for this kind of bug, these are the patterns to try. Each one names what a positive result looks like.
- Hidden password fields on registration forms. Submit the application form and inspect the resulting account. A positive result is a password field in the form body that is not shown to the user and whose value is accepted by the product's native login.
- Native login left enabled behind SSO. For any product with a federated login bolted on, try the product's own username-and-password endpoint with a known username and the default value. A positive result is a session issued without touching the identity provider.
- Path normalisation mismatches on protected prefixes. Request the admin path with extra characters, path parameters or encoding, and compare the access decision with the response. A positive result is a denial for the plain path and a rendered admin page for the variant.
- Role escalation from the user list. As a low-privilege member, enumerate users and identify administrators. A positive result is administrator usernames exposed to a non-administrator, which makes the default-credential step practical.
- Default credentials on provisioned accounts generally. Wherever accounts are created by a workflow rather than by the user, check whether a fixed value is stored. A positive result is any account whose stored credential is identical to another account's.
Glossary
- ADE (Apple Distinguished Educators): an invitation-only forum for educators.
- Admin console: a separate area of a website where administrators manage settings and users.
- Administrator account: a user account with extra powers, including access to the admin console.
- Authentication: proving who you are, for example with a password or a membership card.
- Authorisation: deciding what a known user is allowed to do.
- Canonical path: the single standard form of a web address after cleaning up extra characters, encoding and
..segments. - Code execution: getting a server to run commands that an attacker supplies.
- CVE: a public identifier assigned to a known security vulnerability. None was assigned here.
- CWE-1392: the weakness category for using default credentials, meaning a fixed password shared across accounts.
- CWE-288: the weakness category for an authentication bypass that uses an alternate path.
- CWE-647: the weakness category for authorisation decisions made on non-canonical URL paths.
- Default credential: a password or key that is the same for many accounts instead of being chosen by each user.
- Federated login: logging in through another provider, such as an Apple account, instead of a password stored by the site itself.
- Forum: a website where people post messages and replies.
- Jive: a commercial product for running forums and communities, which has its own username-and-password login.
- LDAP: a directory service used to manage user accounts inside an organisation.
- Middleware: software that sits between a visitor and the main application, often checking identity first.
- Path: the part of a web address after the site name, such as
/admin. - Pseudocode: code written to explain an idea rather than to run as-is.
- Rate limiting: counting attempts and refusing more once a limit is reached, to slow down guessing.
- Router: the part of an application that decides which code handles a given request path.
- SSO (single sign-on): logging in once with an existing account and being let into other sites without a separate password.
- Username enumeration: learning which usernames exist, often from differences in responses or timing.