Original post by: arbaman ,
The top right corner is right where all the connectors plug to the logic board. If your iPhone has never been previously opened, from your description I would suspect some faulty component in that area. In case it's been repaired earlier some connector might have been misplaced. One way or the other overheating points to a short to ground which has to be taken care at the earliest.