Whack the flange with a hammer. It will crack and you will be able to pry it off. Save the lead ring that is inside the flange right now.
You need a couple strands of oakum and means to pack the oakum and melt and pour that molten lead. Then you need a tool to pack the lead in tight.
If you decide to go that route, come back and ask, because you will get several good answers.