A Defense Department server exposed unencrypted Social Security numbers and other personal details belonging to 2.76 million living people and 294,000 deceased individuals, officials said.