silver bullet

(idiomatic) Any straightforward solution perceived to have great effectiveness or bring miraculous results.

Example: A bullet made of silver, usually with reference to the folkloric belief that such bullets are the only weapons which can kill a werewolf.
  There is no silver bullet for this problem. It will take hard work and long hours to fix.
A cocktail somewhat like a martini.