Privilege escalation in Snapd



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-7304
CWE-ID CWE-264
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Snapd
Universal components / Libraries / Software for developers

Vendor snapcore

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Privilege escalation

EUVDB-ID: #VU17656

Risk: Low

CVSSv4.0: 7.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear]

CVE-ID: CVE-2019-7304

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: Yes

Description

The vulnerability allows a local attacker to gain elevated privileges.

The weakness exists due to a bug in the snapd API when validation and parsing the remote socket address while performing access controls on its UNIX socket. A local attacker can access privileged socket APIs and obtain administrator privileges.

Note: the vulnerability has been dubbed as 'Dirty Sock'.

Mitigation

Update to version 2.37.1.

Vulnerable software versions

Snapd: 2.28 - 2.37

CPE2.3 External links

https://bugs.launchpad.net/snapd/+bug/1813365
https://github.com/initstring/dirty_sock/


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###