From its reliance on global allies to the limits of its missile arsenal, the conflict revealed vulnerabilities that Tehran can no longer ignore.