Where on the legs are the sores?
How long have they been there?
Is he eating and able to potty fine?
He may have Miliary Dermatits that got infected.Or he could have injured hiself and has abscesses.
There is bacteria in his mouth and that is what is worsening the condition and impeding healing.You can apply neosporin to the sores.Clean with peroxiide first.
To prevent licking get a babies onsie and cut out for him to potty.
Fortunately cats do not get as many skin conditions as dogs so they are much easier to diagnose and treat. They can be allergic reactions, fungus or infection.
Here is the most common with photos:
Stud tail:and feline acnehttp://www.kittens-lair.net/cat-health/feline-acne.html
Ringworm can be recurrent and is treated with a topical fungicide or a vaccine shot.
miliary dermatitis can come from a food allergy or the bite of even ONE flea.This is treated with one cortesone shot or neosporen it is safe it he licks a bit.
Granuloma is also usually allergic in nature and can be treated cortesone or antibiotics or both.
There is also alopecia which is usually symmetrical and can be self inflicted:
A staph infection is also a possibility and can recur at times when the immune system is weakened temporarily.
Please look at the photos and let me know which best relates to your cats issues and I will be happy to discuss this further with you.
If it does not improve he needs a script of clindamycin from his vet.
Please let me know how he is doing.
I hope he feels better very soon.
Sincerest best wishes,