Ranieri had to manage without key players such as Andrade, Zanetti, Zebina, Trezeguet, Legrottaglie, Chiellini and Iaquinta for the match.
Palermo took the lead after 23 minutes with a goal by Miccoli.
Juventus then levelled the score after a free-kick goal by Alessandro Del Piero.
Just minutes after the goal, Juventus midfielder Momo Sissoko was sent off after recieving his second yellow card.
Mchedlidze, who started the match as a substitute, scored the winner for Palermo as Juventus’ poor form continues.