CVE-2011-2520: High severity red hat system-config-firewall vulnerability

Published Jun 30, 2011
·
Updated

fwdbus.py in system-config-firewall 1.2.29 and earlier uses the pickle Python module unsafely during D-Bus communication between the GUI and the backend, which might allow local users to gain privileges via a crafted serialized object.

Other sources

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.

Red Hat

Affected Software

16 affected components
redhat System-config-firewall<=1.2.29
redhat System-config-firewall=1.2.11
redhat System-config-firewall=1.2.12
redhat System-config-firewall=1.2.14
redhat System-config-firewall=1.2.15
redhat System-config-firewall=1.2.16
redhat System-config-firewall=1.2.17
redhat System-config-firewall=1.2.21
redhat System-config-firewall=1.2.22
redhat System-config-firewall=1.2.23
redhat System-config-firewall=1.2.24
redhat System-config-firewall=1.2.25
redhat System-config-firewall=1.2.26
redhat System-config-firewall=1.2.27
redhat System-config-firewall=1.2.28
Fedoraproject Fedora=15

Event History

Jun 30, 2011
Data Sourced
via Red Hat·03:31 PM
DescriptionSeverityAffected Software
Jul 21, 2011
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2011-2520?

CVE-2011-2520 is classified as a medium severity vulnerability due to possible privilege escalation by local users.

2

How do I fix CVE-2011-2520?

To fix CVE-2011-2520, upgrade system-config-firewall to version 1.2.30 or later, where the vulnerability has been addressed.

3

What systems are affected by CVE-2011-2520?

CVE-2011-2520 affects system-config-firewall versions 1.2.29 and earlier, as well as Fedora 15.

4

What type of vulnerability is CVE-2011-2520?

CVE-2011-2520 is a privilege escalation vulnerability arising from unsafe use of the pickle Python module during D-Bus communication.

5

Is CVE-2011-2520 exploitable remotely?

CVE-2011-2520 is not remotely exploitable; it requires local access to the affected system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203