People can experience pain under the ribs in the upper ... and injuries to organs within the area. The rib cage attaches to the breastbone and spine, and the ribs protect many vital organs.