Chile, who face European champions Portugal in the last four on Wednesday in Kazan, came second in the group with five points, two behind Germany and three ahead of Australia in third.
The result means Low's men progress as Group B winners and return to Sochi's Fisht Stadium on Thursday to face Mexico in the semi-finals.
'Transformers: The Last Knight' Opens to Franchise Low $69.1 Million
The Tupac Shakur biopic brought in $5.9 million in its second weekend, down a brutal 78% from last weekend's impressive start. Almost a month after opening, Patty Jenkins and Gal Gadot's Wonder Woman continues to be a major draw.
Germany took the lead in the 48th minute through Kerem Demirbay.
After a VAR review saw Ernest Mabouka eventually sent off for a high tackle on Emre Can after Sebastien Siani was initially mistakenly dismissed, Germany quickly extended their lead through Werner's first global goal.
Cameroon were gifted a way back into the match when Marc-Andre ter Stegen let Aboubakar's header burst through his gloves in what was a poor goal to concede for the Barcelona keeper.
Werner then gave Germany a two-goal cushion with a diving header, his first goal at senior global level, from Joshua Kimmich's cross on the right wing.
Murray to warm up for Wimbledon at Hurlingham event
I'm looking forward to Wimbledon , but still keeping my feet on the ground and working day by day and just focusing on my game to keep it steady and keep it consistent.
Ter Stegen prevented Cameroon going in front, with the goalkeeper's one-handed save blocking Andre-Frank Zambo Anguissa's hooked shot across goal at the end of a nervy first-half for the Germans. Julian Draxler fed Demirbay with a back-heel through Siani's legs and the midfielder marked his first global start by slicing a shot into the top corner with his weaker right foot.
Follow the Football match between Germany and Cameroon live with Eurosport.
Troisi's 42nd-minute goal put the pressure on Chile, which responded well and would have equalized through Vidal just before the break, but for Dylan McGowan's last-ditch block. The striker whose goals propelled Leipzig to a surprise second-place finish in the Bundesliga turned a cutback from Benjamin Henrichs into the net.
"I have to say I am very proud and full of praise for the team for reaching the semi-finals", said Loew. "They're under pressure. You've seen that we caused them some real problems, that we matched a world-class team".
Russian Federation says terrorists used Telegram to coordinate attack
The FSB charged that "the members of the global terrorist organisations on Russian territory use Telegram ". They used Telegram "at each stage of the preparation of this terrorist attack", it said.
- Iran urges Europe to help promote dialogue in Persian Gulf
- Cosby Trial: Juror Says It Was a 'True Deadlock'
- Netflix cancels Girlboss, and Sophia Amoruso couldn't be happier
- Jose Mourinho faces accusation of tax fraud
- Jordan Spieth delivered golf's most exciting moment of the year
- U of DE professor loses job over derogatory Otto Warmbier comments
- Exploding airbag maker Takata files for bankruptcy
- President, PM extend greetings on Eid-ul-Fitr
- Ninety Parliament email accounts may have been compromised in a cyber attack
- Germany eliminate African champions Cameroon from Confederations Cup