In primary adrenocortical insufficiency i.e. Addison's disease, there is hypersecretion of ACTH through feedback regulation
Secondary adrenocortical insufficiency itself is caused by deficiency of ACTH
ACTH and MSH are synthesized from Pro-opiomelanocortin (POMC)