It was Anaheim's first victory in the new NHL season.
The Selanne goals came about 70 seconds apart in the second period, erasing a 1-0 deficit.
Corey Perry had two goals -- one short-handed -- and an assist.
Scott Niedermayer, Joffrey Lupul and James Wisniewski had two assists apiece, while goalie Jonas Hiller gave up one goal on 33 shots for the Ducks, who lost their only game against Boston last season.
Boston's lone goal was scored by Marco Sturm at 16:33 of the first after assists from Marc Savard and Dennis Wideman.
Goalie Tim Thomas was beaten six times on 34 shots for the Bruins, who have lost twice on home ice in the season's first month.
Celebrity Breakups and divorces of 2014 [PHOTOS]