My SRV has turned right over a few times as well, just by me being a bit careless on low gravity planets and moons, but lately I've noticed that it automatically rights itself straight away so I'm not sure if FDev has done something recently for that to happen but if they have, then great!
In the case of the SRV flipping over after touching an outcrop or whatever, after I've shot it for the materials it stays that way and no amount of throttle etc (I'm a mouse and keyboard player) puts it back the right way up. The only way I know of is to go into Horizons as I mentioned before. If only a commander could be like Gordon and disembark, then use one of these: