Bypassing Payments In Apple For Free Trails For Lifetime
The researcher found that Apple's account creation flow for free trials could be automated by obtaining required cookies from separate endpoints and using generated dummy credit card numbers, allowing mass creation of Apple IDs without phone verification and repeated free trials. The text claims this bypassed payment verification and IP rate limiting, but Apple later fixed the issue and denied a bounty.
{{media:0}}
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 Music offers a free trial to every new user, but the trial requires a credit card to be added to the account first. The researcher asked a simple question: what if the payment verification could be bypassed, so that unlimited trials could be obtained for free, for life?
The work took about a week. The same flow also allowed Apple IDs to be created in bulk without verifying or adding a phone number, which the researcher notes could be useful to spammers or to some organisations.

Setup
The researcher worked against the Apple account creation flow used by Apple Music, hosted on buy.music.apple.com. Three requests are responsible for creating an Apple account:
https://buy.music.apple.com:443/WebObjects/MZFinance.woa/wa/generateEmailConfirmationCodeSrvhttps://buy.music.apple.com:443/WebObjects/MZFinance.woa/wa/validateEmailConfirmationCodeSrvhttps://buy.music.apple.com:443/WebObjects/MZFinance.woa/wa/createAccountSrv
The tools used were a Python script (linked in the report), a credit card generator that produces card numbers from a BIN, and rotating proxies. The researcher automated all the input fields with random but valid data.
Finding it
The key observation was that cookies, not just the request bodies, drive the account creation process. After two days of work the researcher understood the whole flow and identified the cookies responsible for the operations. Two of them turned out to be the gatekeepers:
wosid-lite, without which a verification code cannot be generated for an email.ns-mzf-inst, without which the email verification request does not work.
Digging further, the researcher found an endpoint that hands out a fresh wosid-lite on every request, and another that hands out a fresh ns-mzf-inst on every request. That removed the need to obtain either cookie legitimately, and made the flow repeatable at scale.
Exploitation
Step 1: generate the email confirmation code
The first request generates a confirmation code for a given email. It needs the cookie wosid-lite; without it no verification code can be generated for an email. A new value of wosid-lite can be obtained for each request from:
https://buy.music.apple.com:443/account/restricted/create/options
With wosid-lite in hand, as many verification codes as wanted can be generated. The response to the first request also returns a clientoken, which is used in the next steps.
Step 2: verify the code and the email
The second request verifies the code and the email, but it only works if ns-mzf-inst is present in the cookies. A new value of ns-mzf-inst can be obtained for each new request from:
https://buy.music.apple.com:443/WebObjects/MZFinance.woa/wa/validateAccountFieldsSrv
With the clientoken and wosid-lite from step 1 and a fresh ns-mzf-inst, the email can be verified with the verification code. The response returns a pageuuid, which is used in the next step.
Step 3: create the account with a dummy card
The third request verifies the address and other user details. It needs the pageuuid, the clientoken and the cookies from the previous steps. At this point there are two options: add a credit card, or choose None. Free trials require a card, so the card path is the one taken.
To bypass the payment system, the researcher used a dummy card. The BIN used was 401658. A credit card generator was used with that BIN to produce 200 dummy credit cards. All the address fields were filled in, with state and city set to New York, and the request was sent to fool Apple's payment check with the dummy cards. In the response, status:0 or XML data confirms that the account was created.
Apple protects the flow with an IP rate limit, which the researcher describes as very easy to bypass by rotating proxies for the automation. Using a proxy IP, accounts could be obtained in mass.
Once the dummy credit card has been added successfully, enrolling in any trial on any Apple product only requires adding the CVV of the fake dummy card.
Reproducing it
The researcher refers readers to the explanation above for the detailed steps, saying it would be messy to write them out again, and offers to provide them on request via Twitter. The short version is:
- Run the Python script and wait for output.
- In the output there will be an email, a password and a CVV. Log in with that email and password, activate any trial and add the CVV, and the free trial is granted with a fake or dummy credit card.
The script can be run as many times as wanted, and each run yields a free one month trial. The script is published at:
https://github.com/SAM0-0/APPLE-PAYMENT-BYPASS/blob/main/exploit.py
A proof of concept video is linked in the report:
Root cause
The account creation flow relies on cookies that the client can obtain from auxiliary endpoints. wosid-lite and ns-mzf-inst are meant to tie a session to a legitimate account creation attempt, but the endpoints /account/restricted/create/options and /WebObjects/MZFinance.woa/wa/validateAccountFieldsSrv issue fresh values on demand, so the binding is not enforced. The payment check accepted generated card numbers from a BIN, and the IP rate limit was bypassed by rotating proxies. The report does not describe the server-side implementation or why the dummy cards passed.
Impact
An attacker can create Apple IDs in bulk without verifying or adding a phone number, which is otherwise mandatory when no credit card is added. Credit card verification can be bypassed with dummy cards and random but logical shipping addresses. Free trials can then be activated repeatedly: when a trial expires, a new account can be created in seconds. In some countries Apple offers six month trials, which the researcher notes are only useful for Android and web users; Apple users can use family sharing to get trials without removing their own Apple account from their device. The researcher states that for Android and web users this allows using Apple services for free for the rest of their life.
Apple investigated for six months and said the issue was fixed, and the researcher verified the fix. No bounty was awarded. Apple's response was:
This is because the reported issue and your proof-of-concept do not demonstrate the categories listed on https://security.apple.com/bounty/categories
The researcher says they investigated further after the denial and believes they found a bypass as well, but will not report it to Apple.
Timeline as given in the report:
| Date | Event |
|---|---|
| 9 Oct 2022 | Bug reported |
| 15 Mar 2023 | Bug fixed |
| 24 Mar 2023 | Denied for any bounty |
| 9 Jan 2024 | Disclosure |
Fix
Apple told the researcher the issue was fixed, and the researcher verified it, but the report does not describe what was changed. The measures that would address the root cause are enforcing that wosid-lite and ns-mzf-inst are bound to a single account creation session and cannot be minted freely from the auxiliary endpoints, performing a real card authorisation rather than accepting generated numbers, and applying rate limiting that survives proxy rotation.
Variants to test
- Look for auxiliary endpoints that mint session cookies used by a multi-step signup or checkout flow. A positive result is a fresh cookie value returned on every request without authentication.
- Try replaying a signup flow with cookies obtained from those endpoints instead of from the normal entry point. A positive result is the flow completing without the usual precondition, such as a verified phone number.
- Test whether card validation accepts generated numbers from a known BIN. A positive result is account creation returning
status:0or equivalent success XML with a card that was never authorised. - Check whether IP rate limits can be evaded with rotating proxies. A positive result is sustained bulk creation from changing source addresses.
- Test whether trial eligibility is tied to the account rather than to the payment instrument. A positive result is repeated trials across newly created accounts using the same dummy card data.
What happened, in plain words
Apple Music gives every new user a free trial. To get it, you have to add a credit card to your Apple account first. The researcher asked a simple question: what if we could skip the payment check and get free trials again and again, for life?
It took about a week of work. The same trick also let someone create many Apple IDs quickly, without verifying a phone number or adding a real card. The researcher notes that this could be useful to spammers or to some organisations.

The picture above is the author's profile image from the article.
Background: the pieces you need to know
Before walking through the attack, here are the basic ideas, explained from zero.
- API: An API is a way for one piece of software to talk to another. Think of it as a waiter in a restaurant: you (the app) tell the waiter (the API) what you want, and the waiter brings it from the kitchen (the server). In this case, the Apple Music website talks to Apple's servers through a set of web addresses (endpoints).
- Endpoint: A specific URL that performs a particular action on a server. For example, one endpoint might create an account, another might send a verification code.
- Cookie: A small piece of data that a website stores in your browser and sends back with every request. It helps the website remember who you are. Think of it like a wristband at a festival: once you have it, you can enter and leave without showing your ticket again.
- Token: Similar to a cookie but often used inside the request body or headers. It is a temporary proof that you completed a previous step. For example, after you enter a verification code, the server gives you a token that says "this email is verified".
- BIN: The first six digits of a credit card number. They identify the bank that issued the card. A credit card generator can create fake card numbers that start with a real BIN, making them look valid to simple checks.
- Rate limit: A restriction on how many requests you can make from one IP address in a certain time. It is like a bouncer who only lets you enter a club a few times per hour.
- Proxy: A server that sits between you and the target website, so your requests appear to come from the proxy's IP address instead of yours. Rotating proxies means using many different proxies in turn, so each request seems to come from a different place.
- Payment bypass: A vulnerability where an application lets you skip or fake a payment step. Here, it means adding a fake credit card and still getting the free trial.
The three requests that create an Apple account
The researcher focused on the account creation flow used by Apple Music, which lives on buy.music.apple.com. Three requests are responsible for creating an Apple account:
https://buy.music.apple.com:443/WebObjects/MZFinance.woa/wa/generateEmailConfirmationCodeSrvhttps://buy.music.apple.com:443/WebObjects/MZFinance.woa/wa/validateEmailConfirmationCodeSrvhttps://buy.music.apple.com:443/WebObjects/MZFinance.woa/wa/createAccountSrv
The first request generates a confirmation code for an email, the second verifies the code and email, and the third creates the account.
The tools used were a Python script (linked later), a credit card generator that produces card numbers from a BIN, and rotating proxies. The researcher automated all the input fields with random but valid data.
Finding the weakness
The key observation was that cookies, not just the data you type into the form, control the account creation process. After two days of work, the researcher understood the whole flow and identified the cookies responsible. Two of them turned out to be the gatekeepers:
wosid-lite: without this cookie, you cannot generate a verification code for an email.ns-mzf-inst: without this cookie, the email verification request does not work.
Digging further, the researcher found an endpoint that hands out a fresh wosid-lite on every request, and another that hands out a fresh ns-mzf-inst on every request. That removed the need to obtain either cookie legitimately, and made the flow repeatable at scale.
Exploitation
Step 1: generate the email confirmation code
The first request generates a confirmation code for a given email. It needs the cookie wosid-lite; without it no verification code can be generated for an email. A new value of wosid-lite can be obtained for each request from:
https://buy.music.apple.com:443/account/restricted/create/options
This endpoint gives a new value of wosid-lite for each request. With wosid-lite in hand, as many verification codes as wanted can be generated. The response to the first request also returns a clientoken, which is used in the next steps.
Step 2: verify the code and the email
The second request verifies the code and the email, but it only works if ns-mzf-inst is present in the cookies. A new value of ns-mzf-inst can be obtained for each new request from:
https://buy.music.apple.com:443/WebObjects/MZFinance.woa/wa/validateAccountFieldsSrv
This endpoint gives a new value of ns-mzf-inst for each new request. With the clientoken and wosid-lite from step 1 and a fresh ns-mzf-inst, the email can be verified with the verification code. The response returns a pageuuid, which is used in the next step.
Step 3: create the account with a dummy card
The third request verifies the address and other user details. It needs the pageuuid, the clientoken and the cookies from the previous steps. At this point there are two options: add a credit card, or choose None. Free trials require a card, so the card path is the one taken.
To bypass the payment system, the researcher used a dummy card. The BIN used was 401658. A credit card generator was used with that BIN to produce 200 dummy credit cards. All the address fields were filled in, with state and city set to New York, and the request was sent to fool Apple's payment check with the dummy cards. In the response, status:0 or XML data confirms that the account was created.
Apple protects the flow with an IP rate limit, which the researcher describes as very easy to bypass by rotating proxies for the automation. Using a proxy IP, accounts could be obtained in mass.
Once the dummy credit card has been added successfully, enrolling in any trial on any Apple product only requires adding the CVV of the fake dummy card.
Reproducing it
The researcher refers readers to the explanation above for the detailed steps, saying it would be messy to write them out again, and offers to provide them on request via Twitter. The short version is:
- Run the Python script and wait for output.
- In the output there will be an email, a password and a CVV. Log in with that email and password, activate any trial and add the CVV, and the free trial is granted with a fake or dummy credit card.
The script can be run as many times as wanted, and each run yields a free one month trial. The script is published at:
https://github.com/SAM0-0/APPLE-PAYMENT-BYPASS/blob/main/exploit.py
A proof of concept video is linked in the report:
Root cause
The account creation flow relies on cookies that the client can obtain from auxiliary endpoints. wosid-lite and ns-mzf-inst are meant to tie a session to a legitimate account creation attempt, but the endpoints /account/restricted/create/options and /WebObjects/MZFinance.woa/wa/validateAccountFieldsSrv issue fresh values on demand, so the binding is not enforced. The payment check accepted generated card numbers from a BIN, and the IP rate limit was bypassed by rotating proxies. The report does not describe the server-side implementation or why the dummy cards passed.
Impact
An attacker can create Apple IDs in bulk without verifying or adding a phone number, which is otherwise mandatory when no credit card is added. Credit card verification can be bypassed with dummy cards and random but logical shipping addresses. Free trials can then be activated repeatedly: when a trial expires, a new account can be created in seconds. In some countries Apple offers six month trials, which the researcher notes are only useful for Android and web users; Apple users can use family sharing to get trials without removing their own Apple account from their device. The researcher states that for Android and web users this allows using Apple services for free for the rest of their life.
Apple investigated for six months and said the issue was fixed, and the researcher verified the fix. No bounty was awarded. Apple's response was:
This is because the reported issue and your proof-of-concept do not demonstrate the categories listed on https://security.apple.com/bounty/categories
The researcher says they investigated further after the denial and believes they found a bypass as well, but will not report it to Apple.
Timeline as given in the report:
| Date | Event |
|---|---|
| 9 Oct 2022 | Bug reported |
| 15 Mar 2023 | Bug fixed |
| 24 Mar 2023 | Denied for any bounty |
| 9 Jan 2024 | Disclosure |
Fix
Apple told the researcher the issue was fixed, and the researcher verified it, but the report does not describe what was changed. The measures that would address the root cause are enforcing that wosid-lite and ns-mzf-inst are bound to a single account creation session and cannot be minted freely from the auxiliary endpoints, performing a real card authorisation rather than accepting generated numbers, and applying rate limiting that survives proxy rotation.
Variants to test
- Look for auxiliary endpoints that mint session cookies used by a multi-step signup or checkout flow. A positive result is a fresh cookie value returned on every request without authentication.
- Try replaying a signup flow with cookies obtained from those endpoints instead of from the normal entry point. A positive result is the flow completing without the usual precondition, such as a verified phone number.
- Test whether card validation accepts generated numbers from a known BIN. A positive result is account creation returning
status:0or equivalent success XML with a card that was never authorised. - Check whether IP rate limits can be evaded with rotating proxies. A positive result is sustained bulk creation from changing source addresses.
- Test whether trial eligibility is tied to the account rather than to the payment instrument. A positive result is repeated trials across newly created accounts using the same dummy card data.
Glossary
- API: A set of rules that allows one software program to communicate with another.
- Endpoint: A specific URL where an API can be accessed.
- Cookie: A small piece of data stored by a website in your browser and sent back with each request to identify you.
- Token: A temporary piece of data that proves you completed a previous step, often used in place of a password.
- BIN: The first six digits of a credit card number, identifying the issuing bank.
- Rate limit: A restriction on the number of requests allowed from a single IP address in a given time.
- Proxy: A server that acts as an intermediary for requests, hiding the original IP address.
- Rotating proxies: Using multiple proxies in turn so that requests appear to come from different IP addresses.
- Payment bypass: A vulnerability that allows skipping or faking a payment step.
- CVV: The three or four digit security code on a credit card.
- XML: A format for structuring data in text form, often used in API responses.
- status:0: A response value indicating success in some APIs.