Images are a bit blurry, but looks like extensive abrasion likely caused by improper conditions on the legs, and the beginning of shell rot on the carapace. Would definitely go with betadine for the shell (apply a layer of it on the shell and leave the animal outside water for a little less than half an hour, then rinse and gently scrub shell) a couple times a day, and salt baths (1-3 tbsp aquarium salt per gallon) once or twice daily. What does the full setup look like? Is there an adequate basking spot? What's the water temperature? Diet? When were the issues first noted?