You could well be correct in your diagnosis. In any case, these frogs need to see a vet asap. I don't think there's anything you can do at home without veterinary help.