Bug 585394 (CVE-2010-1172)
| Summary: | CVE-2010-1172 dbus-glib: property access not validated | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Colin Walters <walters> | ||||||||
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | |||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | unspecified | CC: | antillon.maurizio, bressers, dcbw, eren, hui.zhu, jlieskov, linux, security-response-team, thomas, vdanen, walters | ||||||||
| Target Milestone: | --- | Keywords: | Security | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | |||||||||||
| : | 585395 (view as bug list) | Environment: | |||||||||
| Last Closed: | 2012-11-29 16:51:10 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Bug Depends On: | 585395, 585396, 588397, 833887 | ||||||||||
| Bug Blocks: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Colin Walters
2010-04-23 21:16:19 UTC
Created attachment 408742 [details]
respect property access flags
Note that affected services will need to be recompiled.
This has been assigned CVE-2010-1172 Created attachment 409584 [details]
0001-Respect-property-access-flags-for-writing-allow-disa.patch
Updated patch; this one exercises the legacy disabled cased.
Latest patch appears to allow setting properties listed as 'access=read' even though I"ve disabled legacy property access:
NetworkManager: object_registration_message: prop lookup name 'ip4_address'
NetworkManager: check_property_access: iface org.freedesktop.NetworkManager.Device name Ip4Address (is set 0)
NetworkManager: check_property_access: iface org.freedesktop.NetworkManager.Device name Ip4Address (access type readwrite)
NetworkManager: object_registration_message: prop lookup name 'ip4_address'
NetworkManager: check_property_access: iface org.freedesktop.NetworkManager.Device name Ip4Address (is set 1)
NetworkManager: check_property_access: iface org.freedesktop.NetworkManager.Device name Ip4Address (access type readwrite)
NetworkManager: object_registration_message: prop lookup name 'ip4_address'
NetworkManager: check_property_access: iface org.freedesktop.NetworkManager.Device name Ip4Address (is set 0)
NetworkManager: check_property_access: iface org.freedesktop.NetworkManager.Device name Ip4Address (access type readwrite)
but introspection/nm-device.xml lists Ip4Address as access=read.
Also, you can kill the:
/* Try both forms of property names: "foo_bar" or "FooBar"; for historical
* reasons we accept both.
*/
if (object_info
&& !(property_info_from_object_info (object_info, wincaps_propiface, requested_propname, &access_type)
'object_info' check there now in check_property_access since there's a check for if (!object_info) just above.
Nevermind about the Ip4Address thing, needed a clean rebuild locally. So the latest patch looks good to me. Created attachment 437622 [details]
patch against dbus-glib git master
This patch is rebased on dbus-glib git master as of today (commit 9440209e2).
This is public now. This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2010:0616 https://rhn.redhat.com/errata/RHSA-2010-0616.html |