A missile attack that hit a Palestinian community in northern Israel has injured dozens of people.