ID CVE-2013-1794
Summary Buffer overflow in certain client utilities in OpenAFS before 1.6.2 allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via a long fileserver ACL entry.
References
Vulnerable Configurations
  • OpenAFS 1.6.1
    cpe:2.3:a:openafs:openafs:1.6.1
  • OpenAFS 1.6.0
    cpe:2.3:a:openafs:openafs:1.6.0
  • OpenAFS 1.5.78
    cpe:2.3:a:openafs:openafs:1.5.78
  • OpenAFS 1.5.77
    cpe:2.3:a:openafs:openafs:1.5.77
  • OpenAFS 1.5.76
    cpe:2.3:a:openafs:openafs:1.5.76
  • OpenAFS 1.5.75
    cpe:2.3:a:openafs:openafs:1.5.75
  • OpenAFS 1.5.74
    cpe:2.3:a:openafs:openafs:1.5.74
  • OpenAFS 1.5.73
    cpe:2.3:a:openafs:openafs:1.5.73
  • OpenAFS 1.5.72
    cpe:2.3:a:openafs:openafs:1.5.72
  • OpenAFS 1.5.71
    cpe:2.3:a:openafs:openafs:1.5.71
  • OpenAFS 1.5.70
    cpe:2.3:a:openafs:openafs:1.5.70
  • OpenAFS 1.5.69
    cpe:2.3:a:openafs:openafs:1.5.69
  • OpenAFS 1.5.68
    cpe:2.3:a:openafs:openafs:1.5.68
  • OpenAFS 1.5.67
    cpe:2.3:a:openafs:openafs:1.5.67
  • OpenAFS 1.5.66
    cpe:2.3:a:openafs:openafs:1.5.66
  • OpenAFS 1.5.65
    cpe:2.3:a:openafs:openafs:1.5.65
  • OpenAFS 1.5.64
    cpe:2.3:a:openafs:openafs:1.5.64
  • OpenAFS 1.5.63
    cpe:2.3:a:openafs:openafs:1.5.63
  • OpenAFS 1.5.62
    cpe:2.3:a:openafs:openafs:1.5.62
  • OpenAFS 1.5.61
    cpe:2.3:a:openafs:openafs:1.5.61
  • OpenAFS 1.5.60
    cpe:2.3:a:openafs:openafs:1.5.60
  • OpenAFS 1.5.59
    cpe:2.3:a:openafs:openafs:1.5.59
  • OpenAFS 1.5.58
    cpe:2.3:a:openafs:openafs:1.5.58
  • OpenAFS 1.5.57
    cpe:2.3:a:openafs:openafs:1.5.57
  • OpenAFS 1.5.56
    cpe:2.3:a:openafs:openafs:1.5.56
  • OpenAFS 1.5.55
    cpe:2.3:a:openafs:openafs:1.5.55
  • OpenAFS 1.5.54
    cpe:2.3:a:openafs:openafs:1.5.54
  • OpenAFS 1.5.53
    cpe:2.3:a:openafs:openafs:1.5.53
  • OpenAFS 1.5.52
    cpe:2.3:a:openafs:openafs:1.5.52
  • OpenAFS 1.5.51
    cpe:2.3:a:openafs:openafs:1.5.51
  • OpenAFS 1.5.50
    cpe:2.3:a:openafs:openafs:1.5.50
  • OpenAFS 1.5.39
    cpe:2.3:a:openafs:openafs:1.5.39
  • OpenAFS 1.5.38
    cpe:2.3:a:openafs:openafs:1.5.38
  • OpenAFS 1.5.37
    cpe:2.3:a:openafs:openafs:1.5.37
  • OpenAFS 1.5.36
    cpe:2.3:a:openafs:openafs:1.5.36
  • OpenAFS 1.5.35
    cpe:2.3:a:openafs:openafs:1.5.35
  • OpenAFS 1.5.34
    cpe:2.3:a:openafs:openafs:1.5.34
  • OpenAFS 1.5.33
    cpe:2.3:a:openafs:openafs:1.5.33
  • OpenAFS 1.5.32
    cpe:2.3:a:openafs:openafs:1.5.32
  • OpenAFS 1.5.31
    cpe:2.3:a:openafs:openafs:1.5.31
  • OpenAFS 1.5.30
    cpe:2.3:a:openafs:openafs:1.5.30
  • OpenAFS 1.5.29
    cpe:2.3:a:openafs:openafs:1.5.29
  • OpenAFS 1.5.28
    cpe:2.3:a:openafs:openafs:1.5.28
  • OpenAFS 1.5.27
    cpe:2.3:a:openafs:openafs:1.5.27
  • OpenAFS 1.5.26
    cpe:2.3:a:openafs:openafs:1.5.26
  • OpenAFS 1.5.25
    cpe:2.3:a:openafs:openafs:1.5.25
  • OpenAFS 1.5.24
    cpe:2.3:a:openafs:openafs:1.5.24
  • OpenAFS 1.5.23
    cpe:2.3:a:openafs:openafs:1.5.23
  • OpenAFS 1.5.22
    cpe:2.3:a:openafs:openafs:1.5.22
  • OpenAFS 1.5.21
    cpe:2.3:a:openafs:openafs:1.5.21
  • OpenAFS 1.5.20
    cpe:2.3:a:openafs:openafs:1.5.20
  • OpenAFS OpenAFS 1.5.19
    cpe:2.3:a:openafs:openafs:1.5.19
  • OpenAFS OpenAFS 1.5.18
    cpe:2.3:a:openafs:openafs:1.5.18
  • OpenAFS OpenAFS 1.5.17
    cpe:2.3:a:openafs:openafs:1.5.17
  • OpenAFS 1.5.16
    cpe:2.3:a:openafs:openafs:1.5.16
  • OpenAFS 1.5.15
    cpe:2.3:a:openafs:openafs:1.5.15
  • OpenAFS 1.5.14
    cpe:2.3:a:openafs:openafs:1.5.14
  • OpenAFS 1.5.13
    cpe:2.3:a:openafs:openafs:1.5.13
  • OpenAFS 1.5.12
    cpe:2.3:a:openafs:openafs:1.5.12
  • OpenAFS 1.5.11
    cpe:2.3:a:openafs:openafs:1.5.11
  • OpenAFS 1.5.10
    cpe:2.3:a:openafs:openafs:1.5.10
CVSS
Base: 6.5 (as of 16-11-2015 - 12:32)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK LOW SINGLE_INSTANCE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20130304_OPENAFS_ON_SL5_X.NASL
    description By carefully crafting an ACL entry an attacker may overflow fixed length buffers within the OpenAFS fileserver, crashing the fileserver, and potentially permitting the execution of arbitrary code. To perform the exploit, the attacker must already have permissions to create ACLs on the fileserver in question. Once such an ACL is present on a fileserver, client utilities such as 'fs' which manipulate ACLs, may be crashed when they attempt to read or modify the ACL.(CVE-2013-1794) The ptserver accepts a list of unbounded size from the IdToName RPC. The length of this list is then used to determine the size of a number of other internal data structures. If the length is sufficiently large then we may hit an integer overflow when calculating the size to pass to malloc, and allocate data structures of insufficient length, allowing heap memory to be overwritten. This may allow an unauthenticated attacker to crash an OpenAFS ptserver. (CVE-2013-1795) Scientific Linux 5 users must also update to at least kernel-2.6.18-308.20.1.el5 to receive a compatible kernel module. Scientific Linux 6 users must also update to at least kernel-2.6.32-279.el6 to avoid issues with system stability. Any 32-bit SL6 system should be aware of possible problems with the afs cache when switching from kernels prior to kernel-2.6.32-279.el6. Purging your OpenAFS cache seems to resolve this issue. After installing the update, OpenAFS services must be restarted for the changes to take effect.
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 65021
    published 2013-03-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=65021
    title Scientific Linux Security Update : openafs on SL5.x SL6.x i386/x86_64
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_0BF376B7CC6B11E2A42414DAE938EC40.NASL
    description Nickolai Zeldovich reports : An attacker with the ability to manipulate AFS directory ACLs may crash the fileserver hosting that volume. In addition, once a corrupt ACL is placed on a fileserver, its existence may crash client utilities manipulating ACLs on that server.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 66769
    published 2013-06-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66769
    title FreeBSD : net/openafs -- buffer overflow (0bf376b7-cc6b-11e2-a424-14dae938ec40)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2014-244.NASL
    description Multiple vulnerabilities has been found and corrected in openafs : Buffer overflow in certain client utilities in OpenAFS before 1.6.2 allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via a long fileserver ACL entry (CVE-2013-1794). Integer overflow in ptserver in OpenAFS before 1.6.2 allows remote attackers to cause a denial of service (crash) via a large list from the IdToName RPC, which triggers a heap-based buffer overflow (CVE-2013-1795). OpenAFS before 1.4.15, 1.6.x before 1.6.5, and 1.7.x before 1.7.26 uses weak encryption (DES) for Kerberos keys, which makes it easier for remote attackers to obtain the service key (CVE-2013-4134). The vos command in OpenAFS 1.6.x before 1.6.5, when using the -encrypt option, only enables integrity protection and sends data in cleartext, which allows remote attackers to obtain sensitive information by sniffing the network (CVE-2013-4135). Buffer overflow in the GetStatistics64 remote procedure call (RPC) in OpenAFS 1.4.8 before 1.6.7 allows remote attackers to cause a denial of service (crash) via a crafted statsVersion argument (CVE-2014-0159). A denial of service flaw was found in libxml2, a library providing support to read, modify and write XML and HTML files. A remote attacker could provide a specially crafted XML file that, when processed by an application using libxml2, would lead to excessive CPU consumption (denial of service) based on excessive entity substitutions, even if entity substitution was disabled, which is the parser default behavior (CVE-2014-3660). The updated packages have been upgraded to the 1.4.15 version and patched to correct these issues.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 79989
    published 2014-12-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79989
    title Mandriva Linux Security Advisory : openafs (MDVSA-2014:244)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2638.NASL
    description Multiple buffer overflows were discovered in OpenAFS, the implementation of the distributed filesystem AFS, which might result in denial of service or the execution of arbitrary code. Further information is available at http://www.openafs.org/security.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 64996
    published 2013-03-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64996
    title Debian DSA-2638-1 : openafs - buffer overflow
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201404-05.NASL
    description The remote host is affected by the vulnerability described in GLSA-201404-05 (OpenAFS: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in OpenAFS. Please review the CVE identifiers referenced below for details. Impact : An attacker could potentially execute arbitrary code with the permissions of the user running the AFS server, cause a Denial of Service condition, or gain access to sensitive information. Additionally, an attacker could compromise a cell’s private key, allowing them to impersonate any user in the cell. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-12
    plugin id 73394
    published 2014-04-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=73394
    title GLSA-201404-05 : OpenAFS: Multiple vulnerabilities
refmap via4
bid 58299
confirm http://www.openafs.org/pages/security/OPENAFS-SA-2013-001.txt
debian DSA-2638
mandriva MDVSA-2014:244
secunia
  • 52342
  • 52480
xf openafs-fileserver-bo(82582)
Last major update 16-11-2015 - 14:50
Published 13-03-2013 - 23:13
Last modified 28-08-2017 - 21:33
Back to Top