I think the spell you are referring to is Wizard | Body Magic | Offensive | Disease, which reduces all primary stats. It can be learned in act 2 from a ghost in the imp village, in act 3 from the temple mage merchant or from 'Zandalor' on the ruins island, and in act 4 from a book in the summoning level.