Iran has accused Kurdish rebels of using Iraqi bases to launch attacks inside Iran .