At least 4,300 people have been injured after two seven-plus magnitude shallow quakes hit seconds apart.