Campaign Account Balance and History Disclosed in API Response
The campaign manager API endpoint for account credits lacked server-side authorization checks, allowing an attacker to retrieve any campaign's wallet balance and transaction history by supplying a different campaign ID. The IDs were sequential, so they could be enumerated to access all victims' financial data.
- Triaged in 6 days
- Fixed in 3 months
- Paid in 8 days
- Disclosed after 6 months
During the security assessment of the application, it has been observed that server-side authorization checks are not implemented on the 'GET /campaign-manager-api/campaignManagerAccounts/:campaignId/accountCredits?q=account' HTTP request. As a result, an attacker can fetch the campaign wallet amount details like 'totalCreditAmount', and 'remaining credit amount' history of all the victim's account.
###Steps to reproduce:
- Log in to LinkedIn.
- Create an advertising account.
███ 3. After creating the account go to - the https://www.linkedin.com/campaignmanager/accounts/XXXXX/billing/transactions page. 4. Intercept the vulnerable requests and replay the request using the victim's campaign id. The response will disclose the campaign wallet details and history.
███████
###Vulnerable Request:
GET /campaign-manager-api/campaignManagerAccounts/█████████████/accountCredits?q=account HTTP/2
Host: www.linkedin.com
###IDs for testing: ███████████████████ ████████████ █████████████████ █████████████████ The ids are in series so can be brute forced
Impact
An attacker can access the complete wallet details like available amount and used amounts and the deposit history of victim's campaign account.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API endpoint relied only on authentication and did not verify that the authenticated user owned the campaign ID being requested.
Impact
An attacker could access the complete wallet details, including available amount, used amounts, and deposit history, of any victim's campaign account.
What the attacker needed
A LinkedIn account; an advertising account; knowledge of a campaign ID
How it was found
- Log in to LinkedIn and create an advertising account.
- Navigate to the billing transactions page for the campaign.
- Intercept the request to the account credits endpoint.
- Replay the request with a different campaign ID to retrieve another campaign's wallet details.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a missing access control bug: the server checked that you were logged in but not that the campaign ID belonged to you. Because the IDs were simple numbers in sequence, anyone could change the ID in the request and see another advertiser's wallet balance and deposit history.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.