Iran will respond to Israel's recent attacks with a "definitive and painful response" that could come before the US presidential election next Tuesday, a source told CNN on Wednesday.