Missing campaign ownership check in zone bulk linking
A missing ownership check in the bulk-linking operation of zone-include.php allowed a manager or trafficker with zone-linking permissions to associate another agency's campaign with their own zone. This could expose the foreign campaign's name, type and identifier in the linked-campaign listing.
- Triaged in 4 days
- Fixed in 21 days
- Disclosed after 3 months
Summary by the program
Description
HackerOne community member miauzxw reported a missing campaign ownership check in the bulk-linking operation of zone-include.php. The single-link operation and XML-RPC API also lacked the corresponding check. A manager, or a trafficker with zone-linking permissions, could associate another agency's campaign with their own zone.
Although agency filtering prevented foreign banners from being linked, the unauthorized association could expose the foreign campaign's name, type and identifier in the linked-campaign listing.
Resolution
Campaign ownership is now checked in the bulk-linking and single-link operations and in the XML-RPC campaign-linking method.
Security advisory
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 bulk-linking operation did not verify that the campaign being linked belonged to the same agency as the zone.
Impact
The unauthorized association could expose the foreign campaign's name, type and identifier in the linked-campaign listing, though agency filtering prevented foreign banners from being linked.
What the attacker needed
Manager or trafficker role; zone-linking permissions
The fix
Campaign ownership is now checked in the bulk-linking and single-link operations and in the XML-RPC campaign-linking method.
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.
A campaign is an advertising effort owned by a specific agency. The system failed to verify that the person linking a campaign to a zone actually owned that campaign. This let someone link another agency's campaign to their own zone, revealing limited details about that campaign.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.