An earthquake with a magnitude of 4.8 hit an area north of Catania on the slopes of Mount Etna in Sicily early on Wednesday, damaging buildings and injuring about 30 people, officials said.