ケツを拭く
1
to wipe one's arse
2
to clean up the mess (after something going wrong);to carry the can
See also:
尻拭い (しりぬぐい)