Sebastien Siani was initially dismissed in a case of mistaken identity before the error was corrected.
Germany finished top of the group with 7 points, two points ahead of second-placed Chile, while Australia finished third with two points, and Cameroon came in fourth with only one point.
The first semi-final game will be played by Portugal and Chile on Wednesday the 28 of June while the second between Germany and Mexico will be played on Thursday the 29 of June.
Trent Sainsbury at yhe FIFA Confederations Cup.
A superb back-heel from captain Julian Draxler steered the ball into the path of the former Turkey junior worldwide and he rifled a shot into the roof of the net from the edge of the box.
But Werner restored Germany's two-goal cushion.
But Esin said the Super Eagles must present their best players for August's 2018 World Cup qualifier in Uyo. The striker whose goals propelled Leipzig to a surprise second-place finish in the Bundesliga turned a cutback from Benjamin Henrichs into the net.
Cameroon leaves Russian Federation early and might not be back next year, given its struggles in qualifying. "We see the proof of that, that there's a lot still to be done".
"There is a lack of pitches, there is a lack of infrastructure in the country which is why it is impossible in to train good footballers for modern football, so this is our main disadvantage".
After Kerem Demirbay opened the scoring, Werner struck either side of Vincent Aboubakar's consolation effort on 78 minutes.
Germany's Joachim Loew said he is looking forward to facing Mexico on Thursday in the Confederations Cup semifinals after the world champions pipped Chile to top spot in Group B.
But Fifa's Video Assistant Referee was again thrust into the limelight after a farcical sending off in the 3-1 Germany win.
After a goalless first half at Fisht Stadium, Hoffenheim midfielder Kerem Demirbay scored his first worldwide goal in spectacular style to set Low on the way to an incredible landmark.
Liverpool midfielder Can, who helped Germany navigate the group stage with relative ease, told reporters: "We have a young squad, but if you come as world champions to the tournament, I think you are favourite".