Held in check for most of the game, Matthew Stafford led Detroit to 17 points in the fourth quarter, throwing a touchdown pass and running for a score.
The Lions had two shots from the Eagles' 1-yard line after a pass-interference penalty on Colt Anderson with 13 seconds left in regulation. But Stafford misfired on both passes, and Hanson kicked a 19-yard field goal to send it to overtime.
The Eagles (3-3) head into their bye week with two consecutive losses.
Copyright 2012 by The Associated Press