Police say an attacker drove a vehicle near the crowd and detonated explosives .