Thats a prolapsed cloaca. I've never had experience with one of those, but the frog needs treatment. Some of the other knowledgable users will chime in on this subject. I think the last time I looked it up, they recommend warm sugar bathing to shrink the afflicted area.