Sort:  

Actually it can't be solved at all, but with photoshop there is something that helps, menu image - adjustments - curves- This measures the shadow and light curves, you can try with that.

I use Lightroom but haven't tried to learn too much, I usually do simple retouching.

I don't retouch simply if it comes out too dark I fix it by giving it some highlights or contrast but nothing else, although I try not to do it.