KABUL, Afghanistan — For the second time in two days, a suicide bomber used an Afghan uniform to elude early detection and approach his target, killing five NATO service members attending an early Saturday meeting at the headquarters of the Afghan 201 Corps in the country’s east. The bombing was one of the worst attacks of its kind, NATO and Afghan military officials said.

The explosion at Forward Operating Base Gamberi on the border of Laghman and Nangarhar Provinces in eastern Afghanistan also appears to have killed at least four Afghan National Army soldiers, according to Baz Mohammed Sherzad, the director of the public health hospital in Nangarhar, which received the bodies of the dead. Eight other Afghans were wounded, including four Afghan soldiers and four interpreters who were accompanying the foreigners in the meeting, Afghan officials said.

Two other NATO troops were killed Saturday in a bomb attack in southern Afghanistan, according to a statement from the military here.

The suicide attack at the eastern base was one of the most lethal attacks involving the penetration of a military installation by an assailant — a style of attack that appears to be increasingly favored by the Taliban. In November 2010, six American soldiers were killed by a man wearing a border police uniform at a military training area in Nangarhar, and a year earlier five British soldiers in Helmand Province were killed. There have been a number of other attacks with lower death tolls by people wearing the uniforms of the security forces. Typically, even predominantly Afghan bases and many smaller outposts have some NATO troops partnered with the Afghans.