The Arsenal star scored a first-half goal but was subbed with less than 10 minutes to go following a rough tackle.
Ozil was celebrating his 25th birthday and capped it with a right foot strike at the 'keepers near post.
The goal put the visitors back in the game after finding themselves 2-0 down.
However, the Arsenal man's evening was soon turned sour when a strong tackle left the playmaker needing treatment.
He was replaced by reported Gunners target, and Schalke prospect Julian Draxler.
Meanwhile, Chelsea's summer signing Andre Schurrle netted an impressive hat-trick as Germany stormed to victory and finished the group unbeaten.
Joachim Loew's side failed to win only game - when they surrendered a four goal advantage in the first game against Sweden.
Bayern Munich's Mario Gotze scored the German's other goal, and Ozil's late injury wasn't enough to dampen spirits as the 2002 finalists look impressive going into Brazil.
Ozil limped straight down the tunnel and Arsenal's record signing is currently being assessed.
The Gunners face Norwich City at the Emirates this weekend and it will be a blow should their talisman be missing.
Arsene Wenger is, however, set to welcome back Santi Cazorla for the clash, while Theo Walcott and Bacary Sagna are also nearing fitness.
Write for GiveMeSport! Sign-up to the GMS Writing Academy here: https://gms.to/130seMa
DISCLAIMER: This article has been written by a member of the GiveMeSport Writing Academy and does not represent the views of GiveMeSport.com or SportsNewMedia. The views and opinions expressed are solely that of the author credited at the top of this article. GiveMeSport.com and SportsNewMedia do not take any responsibility for the content of its contributors.