A student opened fire Monday at a school in the northern US state of Wisconsin, killing at least two people and injuring several others before apparently taking their own life, officials said.