CVE-2015-3256: Medium severity ubuntu polkit daemon vulnerability
It was reported that polkit has a bug, that leads to a minor denial of service, or code execution/privilege escalation. The only privilege necessary is ability to send D-Bus messages, not even necessarily directly to polkitd (usually privileged services ask polkitd for authorization based of a client request: client<->D-Bus<->service<->D-Bus<->polkitd); the attacker does not need special polkit status. This bug allows a local user (a person on a multi-user system, or a daemon account after successfully attacking a daemon over the network) to corrupt memory of polkitd. Corrupting polkitd memory can lead to a crash (known to happen), which is a minor DoS: a specific request being handled during the crash will not get a reply, but polkitd will then be automatically started when next polkit request arrives. In general corrupting memory can lead to arbitrary code execution as polkitd (no proof of concept exists but I can see no reason for this to be impossible), controlling polkitd allows the attacker to grant to anyone access to any polkit-controlled service, including the ability to run any command as root via pkexec.
Initially reported in https://bugzilla.redhat.com/showbug.cgi?id=910262 The patches are attached.
Other sources
PolicyKit (aka polkit) before 0.113 allows local users to cause a denial of service (memory corruption and polkitd daemon crash) and possibly gain privileges via unspecified vectors, related to "javascript rule evaluation."
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2015-3256?
The severity of CVE-2015-3256 is considered to be minor as it leads to a denial of service or potential privilege escalation.
How do I fix CVE-2015-3256?
To fix CVE-2015-3256, upgrade to polkit version greater than 0.112.
What systems are affected by CVE-2015-3256?
CVE-2015-3256 affects polkit versions up to 0.112 and specific versions of openSUSE 13.1 and 13.2.
What is the impact of exploiting CVE-2015-3256?
Exploiting CVE-2015-3256 may lead to a denial of service or allow an attacker to execute code with elevated privileges.
Is CVE-2015-3256 related to D-Bus messaging?
Yes, CVE-2015-3256 involves sending D-Bus messages which could be leveraged for privilege escalation.