Vulnerabilities > CVE-2009-1215 - Race Condition vulnerability in GNU Screen 4.0.3
Attack vector
LOCAL Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
NONE Integrity impact
PARTIAL Availability impact
NONE Summary
Race condition in GNU screen 4.0.3 allows local users to create or overwrite arbitrary files via a symlink attack on the /tmp/screen-exchange temporary file.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leveraging Race Conditions This attack 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 attacker 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 attacker 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. The typical example is the file access. The attacker can leverage a file access race condition by "running the race", meaning that he 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 attacker could do something such as replace the file and cause an escalation of privilege.
Statements
contributor | Tomas Hoger |
lastmodified | 2009-04-02 |
organization | Red Hat |
statement | Red Hat does not consider this to be a security issue. The checks implemented by screen to protect against race condition attacks on /tmp/screen-exchange file provide sufficient protection for this rarely-used buffer exchange feature. For more details, see https://bugzilla.redhat.com/show_bug.cgi?id=492104 |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521123
- http://savannah.gnu.org/bugs/?25296
- http://www.openwall.com/lists/oss-security/2009/03/25/7
- http://www.securityfocus.com/bid/34521
- https://bugs.launchpad.net/ubuntu/+source/screen/+bug/315993
- https://bugzilla.redhat.com/show_bug.cgi?id=492104
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49887