7.8high

CVE-2016-99501 exploit

An issue was discovered in Apport before 2.20.4.

Published 9 y ago · modified 4 mo ago · JSON

CVSS
7.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
6.5%
percentile 94%
Public exploits
1
Exploit-DB

Summary

An issue was discovered in Apport before 2.20.4. There is a path traversal issue in the Apport crash file "Package" and "SourcePackage" fields. These fields are used to build a path to the package specific hook files in the /usr/share/apport/package-hooks/ directory. An attacker can exploit this path traversal to execute arbitrary Python files from the local system.

Exploit prediction (EPSS)

6.55% probability of exploitation in the next 30 days, higher than 94% of all scored CVEs.

Exploits and detections

  • EDB-40937 Apport 2.x (Ubuntu Desktop 12.10 < 16.04) - Local Code Execution · local · 2016-12-14

CVSS scores

Assigned byVersionScoreVector
NVD3.07.8CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD2.09.3AV:N/AC:M/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

  • github.com /DonnchaC/ubuntu-apport-exploitation · x_refsource_MISC, x_transferred
  • donncha.is /2016/12/compromising-ubuntu-desktop/ · x_refsource_MISC, x_transferred
  • bugs.launchpad.net /apport/+bug/1648806 · x_refsource_MISC, x_transferred
  • securityfocus.com /bid/95011 · vdb-entry, x_refsource_BID, x_transferred
  • ubuntu.com /usn/USN-3157-1 · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • exploit-db.com /exploits/40937/ · exploit, x_refsource_EXPLOIT-DB, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.