ID CVE-2012-3500
Summary scripts/annotate-output.sh in devscripts before 2.12.2, as used in rpmdevtools before 8.3, allows local users to modify arbitrary files via a symlink attack on the temporary (1) standard output or (2) standard error output file.
References
Vulnerable Configurations
  • cpe:2.3:a:devscripts_devel_team:devscripts:*:*:*:*:*:*:*:*
    cpe:2.3:a:devscripts_devel_team:devscripts:*:*:*:*:*:*:*:*
  • cpe:2.3:a:devscripts_devel_team:devscripts:2.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:devscripts_devel_team:devscripts:2.12.0:*:*:*:*:*:*:*
  • cpe:2.3:a:fedora:rpmdevtools:*:*:*:*:*:*:*:*
    cpe:2.3:a:fedora:rpmdevtools:*:*:*:*:*:*:*:*
CVSS
Base: 1.2 (as of 13-02-2023 - 04:34)
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 HIGH NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
cvss-vector via4 AV:L/AC:H/Au:N/C:N/I:P/A:N
refmap via4
bid 55358
confirm
debian DSA-2549
fedora
  • FEDORA-2012-13208
  • FEDORA-2012-13234
  • FEDORA-2012-13263
mandriva MDVSA-2013:123
misc https://bugzilla.redhat.com/show_bug.cgi?id=848022
mlist [oss-security] 20120831 [Notification] CVE-2012-3500 - rpmdevtools, devscripts: TOCTOU race condition in annotate-output
secunia 50600
suse openSUSE-SU-2012:1437
ubuntu USN-1593-1
xf rpmdevtools-toctou-symlink(78230)
Last major update 13-02-2023 - 04:34
Published 01-10-2012 - 00:55
Last modified 13-02-2023 - 04:34
Back to Top