Six detained over attack on BJP leader