At least 18 people were injured by an elephant that ran amok during a Buddhist pageant in Sri Lanka.