REDHAT-BUG-717985: Medium severity red hat system-config-firewall vulnerability
Marco Slaviero reported a flaw in the use of python's pickle module as used in system-config-firewall that could allow local users to elevate their privileges to that of the root user. The pickle module is used to format messages between the system-config-firewall GUI and the system-config-firewall-mechanism.py privileged backend (that runs as root). The frontend and backend use D-Bus to communicate with each other, and pickle is known to permit the execution of arbitrary python code, so the untrusted user can send to the backend pickle shellcode that is executed in a privileged context.
The flaw depends on a number of non-standard configurable items to be set:
1) SELinux must be disabled (with SELinux enabled, certain actions can be executed as root, but they are extremely limited) 2) The user must be local, and using a GUI
Acknowledgements:
Red Hat would like to thank Marco Slaviero of SensePost for reporting this issue.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-717985?
The severity of REDHAT-BUG-717985 is critical due to the potential for local users to escalate privileges to root.
How do I fix REDHAT-BUG-717985?
To fix REDHAT-BUG-717985, update the system-config-firewall to the latest version that addresses the vulnerability.
Who is affected by REDHAT-BUG-717985?
Local users of the Red Hat system-config-firewall are affected by REDHAT-BUG-717985.
What is the potential impact of REDHAT-BUG-717985?
The potential impact of REDHAT-BUG-717985 includes unauthorized privilege escalation to the root user.
When was REDHAT-BUG-717985 reported?
REDHAT-BUG-717985 was reported on March 31, 2011.