Mid-back pain can radiate to the ribs due to a herniated thoracic disc. This referred pain is able to be felt all around the body and sometimes affect one or both legs. A herniated thoracic disc can also affect one or both legs in a few different ways, including causing numbness or tingling, muscle weakness, and increased tightness or stiffness.