AUTHORIZED SECURITY TEST

United Airlines VDP — cross-origin postMessage PoC

This page demonstrates a missing event.origin check on the payment page of www.united.com. It only affects the checkout window you open from this page, using your own session. It does not collect, store, or transmit any data.

Read first.

Step 1 — Create a real cart and copy the checkout URL

  1. In your own browser, open United → Manage my trips → your trip → Bags prepaid.
  2. Select 1 checked bag and click Continue to checkout.
  3. The URL will look like:
    https://www.united.com/en/us/ancillary/checkout/<CART_ID>
  4. Copy that full URL (or just the cart ID) and paste it below.
Idle.

Step 2 — Look at the opened checkout window

If the message was accepted, the Billing information fields will contain the PoC values:

The page re-sends the message every second for 60 seconds, because the checkout reloads during some payment flows and the message must land while the payment form is mounted. Use Stop to end it and close the window.

Step 3 — Negative control (differential)

  1. Close the injected checkout and open a fresh checkout URL (same cart is fine).
  2. Click Negative control — status 401.
  3. The same data is sent but with status: 401. The fields must stay unchanged/empty. That differential is what proves the 200 path is the defect, not a normal behaviour.

Payload sent (transparent)

Show JSON
{
  "paypalInfo": {
    "status": 200,
    "Data": {
      "BillingAddress": {
        "AddressLines": ["POC-ADDRESS-1"],
        "City": "POC-CITY",
        "StateProvince": { "ShortName": "NY" },
        "PostalCode": "10001",
        "Characteristic": [{ "Value": "5550100000" }]
      },
      "Payor": { "Contact": { "Emails": [{ "Address": "poc@example.invalid" }] } }
    }
  },
  "paypalReturn": { "PayerID": "POC-PAYER", "token": "POC-TOKEN" }
}

Why this is a real defect

The receiver is handlePostMessage in the payment component. It checks only event.data.paypalInfo.status === 200 (no event.origin) and then writes attacker-supplied billing address / phone / email into the checkout form, marking the fields valid. With an active cart, the purchase request (POST /api/Payment/CompletePurchase) then carries the attacker's EmailId and PhoneNumber — and that email is documented by United as the destination for eTickets, receipts and the confirmation.

No payment is submitted by this page. No data is sent anywhere. The cart ID is only used to open your own checkout window.

Reported under the United Airlines VDP (Bugcrowd). PoC prepared 2026-12-04.