On the volcano planet, get yourself fired out of the cannon through the lava tunnel. Once you are past it, hit the bomb block a single time.
Then grab the invincibility candy and head up the lava river the block released. It sounds absurd, but keep going: through the lake, then through the door. A fire lion guards the ability on the other side.