An earthquake measuring 5.7 magnitude struck Western Iran on Thursday, the German Research Center for Geosciences (GFZ) said.