The complaint could lead to criminal charges. The Bundesliga club says it will also impose a stadium ban for the fan, who was not publicly identified.
The man was seized by security guards and turned over to the police. Hamburg, which lost 3-1, apologized to Bayern and Ribery immediately after the match. Bayern said it planned no action.
Ribery was not injured in the incident and shrugged it off after the match.