Robinson Cano doubled in two runs in the 15th inning, and the New York Yankees beat the Baltimore Orioles 4-1 on Wednesday night after Mariano Rivera blew a one-run lead in the ninth.