Bayer Leverkusen came from behind to beat Bayern Munich 2-1, with two Exequiel Palacios penalties securing all three points at the BayArena.