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.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Link | Tags |
---|---|
https://github.com/DonnchaC/ubuntu-apport-exploitation | issue tracking third party advisory |
https://donncha.is/2016/12/compromising-ubuntu-desktop/ | exploit third party advisory technical description |
https://bugs.launchpad.net/apport/+bug/1648806 | issue tracking patch |
http://www.securityfocus.com/bid/95011 | vdb entry third party advisory |
http://www.ubuntu.com/usn/USN-3157-1 | vendor advisory |
https://www.exploit-db.com/exploits/40937/ | exploit |