Men linked to ruling party attacked students with machetes and sticks and assaulted media workers, rights group says.