Third attack by asylum seeker takes place on eve of annual security conference and ahead of German election