A broken or corroded toilet flange is the usual culprit when a toilet rocks, leaks at the base, or smells like sewer gas even though the wax ring is new. The flange is the ring that sits on (or in) the floor and connects the toilet to the drain pipe. Over time, the bolt slots break, cast iron flanges rust through, or the flange settles below floor level after new flooring is added. The fix depends on what's wrong, but most repairs are under $40 in parts.