Yep, kangaroos do attack people. In Australia, they're so common as to be considered pest animals. And they're enormously strong.
If a kangaroo jumps you, try to turn sideways, in order to protect your face and internal organs. Kangaroos have heinous claws that can do fatal damage.
Slowly walk backwards. Put some distance between yourself and the kangaroo, if possible.