Officials in Afghanistan say two NATO soldiers have been wounded in a bomb attack in the north of the country .