Authorities in Afghanistan say they have arrested four foreigners suspected of plotting terrorist attacks .