OMG! Steel case cracked right through! OK, I would pull the 4WD fuse in the fuse box under the hood right away so your car doesn't send power to the rear. It looks like the oil has completely drained out. Eventually (soon) the gears will bind and the driveshaft and possibly the PTU take damage. Pulling the fuse takes the RDM out and keeps your Cherokee in FWD mode.
It is possible to change yourself if you work on cars but not super easy as you need to elevate the car to work under it. As for replacement units you can buy new (they do cost a good coin) or find one used on car-parts.com or eBay. Note, you're probably want to make sure you can inspect it first, it has a basic warranty and you match the part number with your VIN as there's several versions depending on whether you have AD1, AD2, AD2Lock etc.
It is possible to change yourself if you work on cars but not super easy as you need to elevate the car to work under it. As for replacement units you can buy new (they do cost a good coin) or find one used on car-parts.com or eBay. Note, you're probably want to make sure you can inspect it first, it has a basic warranty and you match the part number with your VIN as there's several versions depending on whether you have AD1, AD2, AD2Lock etc.