Classified military secrets are being leaked on video game forums with the government promising to crack down on the issue.