A synagogue in Sydney's south has been targeted by vandals.