Australian foreign aid is being used to fund terrorism in the Middle East.