An earthquake of magnitude 5.2 struck Afghanistan on Wednesday. The tremors were felt in the Kashmir but there were no reports of any loss of life or damage to property, officials said.