1 Back problems. 2  Spine problems in the back near the lower ribs can pinch the nerves that travel through the groin area and cause groin and thigh pain. 3  Spine problems include a herniated disc or lumbar narrowing (stenosis).