You accidentally executed the following command.

# chmod -R 777 /

Is there any way to revert back to the original permissions?

Execute the following command to revert back to original permissions.

# rpm -a --setperms

This will show some errors but one can neglect them out.