ID CVE-2012-3386
Summary The "make distcheck" rule in GNU Automake before 1.11.6 and 1.12.x before 1.12.2 grants world-writable permissions to the extraction directory, which introduces a race condition that allows local users to execute arbitrary code via unspecified vectors.
References
Vulnerable Configurations
  • cpe:2.3:a:gnu:automake:1.5:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.10.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.4:p2:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.4:p2:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.10:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.4:p1:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.4:p1:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.7.8:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.7.8:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.9.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.9.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.8:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.11.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.11.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.4:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.4:p3:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.4:p3:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.4:p4:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.4:p4:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.4:p5:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.4:p5:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.4:p6:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.4:p6:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.6:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.6.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.6.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.7:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.7.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.7.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.7.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.7.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.7.4:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.7.4:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.7.5:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.7.5:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.7.6:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.7.6:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.7.7:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.7.7:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.7.9:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.7.9:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.8.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.8.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.8.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.8.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.8.4:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.8.4:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.8.5:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.8.5:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.9:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.9:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.9.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.9.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.9.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.9.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.9.4:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.9.4:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.9.5:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.9.5:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.9.6:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.9.6:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.10.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.10.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.10.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.11.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.11.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.11.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.11.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.11.4:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.11.4:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.11.5:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.11.5:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.10.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.10.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.12.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:automake:1.12:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:automake:1.12:*:*:*:*:*:*:*
CVSS
Base: 4.4 (as of 13-02-2023 - 04:33)
Impact:
Exploitability:
CWE CWE-362
CAPEC
  • Leveraging Race Conditions
    The adversary targets a race condition occurring when multiple processes access and manipulate the same resource concurrently, and the outcome of the execution depends on the particular order in which the access takes place. The adversary can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance, a race condition can occur while accessing a file: the adversary can trick the system by replacing the original file with his version and cause the system to read the malicious file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions
    This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. A typical example is file access. The adversary can leverage a file access race condition by "running the race", meaning that they would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the adversary could replace or modify the file, causing the application to behave unexpectedly.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:M/Au:N/C:P/I:P/A:P
redhat via4
advisories
  • bugzilla
    id 838286
    title bug
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 6 is installed
        oval oval:com.redhat.rhba:tst:20111656003
      • comment automake is earlier than 0:1.11.1-4.el6
        oval oval:com.redhat.rhsa:tst:20130526001
      • comment automake is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20130526002
    rhsa
    id RHSA-2013:0526
    released 2013-02-20
    severity Low
    title RHSA-2013:0526: automake security update (Low)
  • bugzilla
    id 838286
    title bug
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 5 is installed
        oval oval:com.redhat.rhba:tst:20070331005
      • comment automake is earlier than 0:1.9.6-3.el5
        oval oval:com.redhat.rhsa:tst:20141243001
      • comment automake is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20100321010
    rhsa
    id RHSA-2014:1243
    released 2014-09-16
    severity Low
    title RHSA-2014:1243: automake security update (Low)
rpms
  • automake-0:1.11.1-4.el6
  • automake-0:1.9.6-3.el5
refmap via4
confirm http://git.savannah.gnu.org/cgit/automake.git/commit/?id=784b3e6ccc7c72a1c95c340cbbe8897d6b689d76
fedora
  • FEDORA-2012-14297
  • FEDORA-2012-14349
  • FEDORA-2012-14770
mandriva MDVSA-2012:103
mlist
  • [automake] 20120709 CVE-2012-3386 Automake security fix for 'make distcheck'
  • [automake] 20120709 GNU Automake 1.11.6 released (fixes a SECURITY VULNERABILITY!)
  • [automake] 20120709 GNU Automake 1.12.2 released (fixes a SECURITY VULNERABILITY!)
suse openSUSE-SU-2012:1519
Last major update 13-02-2023 - 04:33
Published 07-08-2012 - 21:55
Last modified 13-02-2023 - 04:33
Back to Top