A magnitude 6.0 earthquake struck eastern Afghanistan near its shared border with Pakistan late Sunday, stoking reports of hundreds of casualties.