Aubrey Huff started the 12th with a single off Jason Frasor (1-5) and ran to third on a double into the right field corner by Freddie Bynum. Paul Bako struck out, but Moore singled off the glove of first baseman Matt Stairs to drive Huff home, and Brian Roberts followed with a sacrifice fly to give Baltimore a two-run edge.
Fernando Cabrera set down the Blue Jays in order in the bottom of the 12th to earn his first big league save. Rob Bell (4-3) notched the victory with two innings of two-hit relief.
Tike Redman and Jay Payton each drove in a pair of runs for the Orioles, who have won three of their last four games.
Huff scored three times and Nick Markakis homered in the victory.
Adam Lind and Russ Adams clubbed back-to-back homers for Toronto, which has lost seven of its last nine.
Celebrity Breakups and divorces of 2014 [PHOTOS]