Iran warns Israel, US over attack