A teenage surfer has been badly injured by a shark at a popular Sydney beach, the third such shark attack in the area in a month.