I'm having lumbar pains from below the rib cage down to the hip level?

Flank pain... Your pain could be coming from the spine, however, other possibilities to consider based on the location of your pain (the 'flank'): kidney infection, kidney stone, abdominal aortic aneurysm, even diverticulitis or appendicitis. Another often overlooked source of 'flank pain' is caused by irritation of the quadratus lumborum muscle. Your physician can help diagnose your problem.