A 22nd district sergeant heard the gunfire at 24th Street and Edgley Avenue around 11:15 p.m. Monday, police say.
Police say arriving officers discovered a "large scene where a shooting had taken place."
At least 20 shots were fired in and around a Philadelphia Housing Authority unit and courtyard.
Officers found the two shooting victims at the scene.
The brothers, who are 17 years of age, both suffered several leg wounds; they were taken to the hospital in stable condition.
Police say a woman was also cut by shattered glass from her car as she drove through the area.
The woman managed to escape getting hit by gunfire. She was being treated at a local hospital.
No arrests have been made.
MORE TOP STORIES: