CVE-2016-9949 Code injection in n/a
Remote attackers can execute arbitrary Python code via the CrashDB field in Apport, requiring an upgrade to secure the system.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-9949?
CVE-2016-9949 is a high-severity code injection vulnerability in Canonical Ubuntu Linux, published on 17 Dec 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
An issue was discovered in Apport before 2.20.4. In apport/ui.py, Apport reads the CrashDB field and it then evaluates the field as Python code if it begins with a "{". This allows remote attackers to execute arbitrary Python code.
Weakness: CWE-94
Which versions are affected by CVE-2016-9949?
It affects 2 products.
Products include Apport Project Apport, Canonical Ubuntu Linux.
How do I fix CVE-2016-9949?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2016-9949 being exploited?
There is no known exploitation of CVE-2016-9949 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as GHSA-5hh7-vqxx-v3cj, UBUNTU-CVE-2016-9949.