A magnitude 5.4 earthquake struck southern Iran, on Tuesday, the German Research Centre for Geosciences (GFZ) said.