Ivan Provorov, Joel Farabee and Rasmus Ristolainen scored for Philadelphia (8-7-4), which lost its fifth straight game (0-3-2). Carter Hart made 30 saves.
"We're being challenged right now and as an organization," Flyers coach Alain Vigneault said. "It's a challenging time, but everyone has to be better and that starts with me. I've got to do a better job of making sure that guys perform to their level."
Aho started the Hurricanes' run in the second period when he scored to tie it 2-2 at 23 seconds iafter his shot went off Ristolainen's stick and over Hart's glove.
Ristolainen put the Flyers ahead 3-2 with a shot from the right face-off circle at 1:16. The Hurricanes tied it 3-3 on Jesper Fast's goal at 1:45. Kotkaniemi gave the Hurricanes a 4-3 lead at 5:48 when he tapped in a pass into the slot by Seth Jarvis. Steven Lorentz made it 5-3 at 16:22 when he skated in from the right circle.
"In the second, all our Grade A (chances) seemed to go in," Hurricanes coach Rod Brind'Amour said. "I don't think we did anything differently (from the first period). We just got to our game, and for the most part the whole night we did, played our game the way we needed to."
The Hurricanes trailed by a goal three times.
"Just flying across the country yesterday after kind of a couple tough games (2-1 loss at Seattle on Wednesday, 2-1 overtime loss at San Jose Sharks on Monday), feels like we've been on the road forever," Brind'Amour said. "I just thought the guys dug in tonight. You're not always going to get those results, but it was nice to see."