Tyrone Barnett - who had only been on the pitch a matter of minutes - opened the scoring from the penalty spot before Dan Jarvis, another substitute, sealed the win in stoppage time.
It was Yan Klukowski's first game in interim charge following Josh Gowling's dismissal.