ID CVE-2012-3547
Summary Stack-based buffer overflow in the cbtls_verify function in FreeRADIUS 2.1.10 through 2.1.12, when using TLS-based EAP methods, allows remote attackers to cause a denial of service (server crash) and possibly execute arbitrary code via a long "not after" timestamp in a client certificate.
References
Vulnerable Configurations
  • cpe:2.3:a:freeradius:freeradius:2.1.10:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:2.1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:2.1.11:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:2.1.11:*:*:*:*:*:*:*
  • cpe:2.3:a:freeradius:freeradius:2.1.12:*:*:*:*:*:*:*
    cpe:2.3:a:freeradius:freeradius:2.1.12:*:*:*:*:*:*:*
CVSS
Base: 6.8 (as of 29-08-2017 - 01:31)
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 MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:M/Au:N/C:P/I:P/A:P
redhat via4
advisories
  • bugzilla
    id 852752
    title CVE-2012-3547 freeradius: stack-based buffer overflow via long expiration date fields in client X509 certificates
    oval
    AND
    • OR
      • comment Red Hat Enterprise Linux 6 Client is installed
        oval oval:com.redhat.rhba:tst:20111656001
      • comment Red Hat Enterprise Linux 6 Server is installed
        oval oval:com.redhat.rhba:tst:20111656002
      • comment Red Hat Enterprise Linux 6 Workstation is installed
        oval oval:com.redhat.rhba:tst:20111656003
      • comment Red Hat Enterprise Linux 6 ComputeNode is installed
        oval oval:com.redhat.rhba:tst:20111656004
    • OR
      • AND
        • comment freeradius is earlier than 0:2.1.12-4.el6_3
          oval oval:com.redhat.rhsa:tst:20121326005
        • comment freeradius is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20120881006
      • AND
        • comment freeradius-krb5 is earlier than 0:2.1.12-4.el6_3
          oval oval:com.redhat.rhsa:tst:20121326019
        • comment freeradius-krb5 is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20120881016
      • AND
        • comment freeradius-ldap is earlier than 0:2.1.12-4.el6_3
          oval oval:com.redhat.rhsa:tst:20121326013
        • comment freeradius-ldap is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20120881020
      • AND
        • comment freeradius-mysql is earlier than 0:2.1.12-4.el6_3
          oval oval:com.redhat.rhsa:tst:20121326015
        • comment freeradius-mysql is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20120881012
      • AND
        • comment freeradius-perl is earlier than 0:2.1.12-4.el6_3
          oval oval:com.redhat.rhsa:tst:20121326007
        • comment freeradius-perl is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20120881014
      • AND
        • comment freeradius-postgresql is earlier than 0:2.1.12-4.el6_3
          oval oval:com.redhat.rhsa:tst:20121326011
        • comment freeradius-postgresql is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20120881022
      • AND
        • comment freeradius-python is earlier than 0:2.1.12-4.el6_3
          oval oval:com.redhat.rhsa:tst:20121326021
        • comment freeradius-python is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20120881018
      • AND
        • comment freeradius-unixODBC is earlier than 0:2.1.12-4.el6_3
          oval oval:com.redhat.rhsa:tst:20121326009
        • comment freeradius-unixODBC is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20120881008
      • AND
        • comment freeradius-utils is earlier than 0:2.1.12-4.el6_3
          oval oval:com.redhat.rhsa:tst:20121326017
        • comment freeradius-utils is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhba:tst:20120881010
    rhsa
    id RHSA-2012:1326
    released 2012-10-02
    severity Moderate
    title RHSA-2012:1326: freeradius security update (Moderate)
  • bugzilla
    id 852752
    title CVE-2012-3547 freeradius: stack-based buffer overflow via long expiration date fields in client X509 certificates
    oval
    AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • OR
      • AND
        • comment freeradius2 is earlier than 0:2.1.12-4.el5_8
          oval oval:com.redhat.rhsa:tst:20121327002
        • comment freeradius2 is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20121327003
      • AND
        • comment freeradius2-krb5 is earlier than 0:2.1.12-4.el5_8
          oval oval:com.redhat.rhsa:tst:20121327008
        • comment freeradius2-krb5 is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20121327009
      • AND
        • comment freeradius2-ldap is earlier than 0:2.1.12-4.el5_8
          oval oval:com.redhat.rhsa:tst:20121327012
        • comment freeradius2-ldap is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20121327013
      • AND
        • comment freeradius2-mysql is earlier than 0:2.1.12-4.el5_8
          oval oval:com.redhat.rhsa:tst:20121327006
        • comment freeradius2-mysql is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20121327007
      • AND
        • comment freeradius2-perl is earlier than 0:2.1.12-4.el5_8
          oval oval:com.redhat.rhsa:tst:20121327016
        • comment freeradius2-perl is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20121327017
      • AND
        • comment freeradius2-postgresql is earlier than 0:2.1.12-4.el5_8
          oval oval:com.redhat.rhsa:tst:20121327018
        • comment freeradius2-postgresql is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20121327019
      • AND
        • comment freeradius2-python is earlier than 0:2.1.12-4.el5_8
          oval oval:com.redhat.rhsa:tst:20121327014
        • comment freeradius2-python is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20121327015
      • AND
        • comment freeradius2-unixODBC is earlier than 0:2.1.12-4.el5_8
          oval oval:com.redhat.rhsa:tst:20121327010
        • comment freeradius2-unixODBC is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20121327011
      • AND
        • comment freeradius2-utils is earlier than 0:2.1.12-4.el5_8
          oval oval:com.redhat.rhsa:tst:20121327004
        • comment freeradius2-utils is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20121327005
    rhsa
    id RHSA-2012:1327
    released 2012-10-02
    severity Moderate
    title RHSA-2012:1327: freeradius2 security update (Moderate)
rpms
  • freeradius-0:2.1.12-4.el6_3
  • freeradius-krb5-0:2.1.12-4.el6_3
  • freeradius-ldap-0:2.1.12-4.el6_3
  • freeradius-mysql-0:2.1.12-4.el6_3
  • freeradius-perl-0:2.1.12-4.el6_3
  • freeradius-postgresql-0:2.1.12-4.el6_3
  • freeradius-python-0:2.1.12-4.el6_3
  • freeradius-unixODBC-0:2.1.12-4.el6_3
  • freeradius-utils-0:2.1.12-4.el6_3
  • freeradius2-0:2.1.12-4.el5_8
  • freeradius2-krb5-0:2.1.12-4.el5_8
  • freeradius2-ldap-0:2.1.12-4.el5_8
  • freeradius2-mysql-0:2.1.12-4.el5_8
  • freeradius2-perl-0:2.1.12-4.el5_8
  • freeradius2-postgresql-0:2.1.12-4.el5_8
  • freeradius2-python-0:2.1.12-4.el5_8
  • freeradius2-unixODBC-0:2.1.12-4.el5_8
  • freeradius2-utils-0:2.1.12-4.el5_8
refmap via4
apple APPLE-SA-2013-10-22-5
bid 55483
bugtraq 20120910 [PRE-SA-2012-06] FreeRADIUS: Stack Overflow in TLS-based EAP Methods
confirm http://freeradius.org/security.html
debian DSA-2546
fedora FEDORA-2012-15743
mandriva MDVSA-2012:159
misc http://www.pre-cert.de/advisories/PRE-SA-2012-06.txt
mlist [oss-security] 20120910 [PRE-SA-2012-06] FreeRADIUS: Stack Overflow in TLS-based EAP Methods
osvdb 85325
sectrack 1027509
secunia
  • 50484
  • 50584
  • 50637
  • 50770
suse openSUSE-SU-2012:1200
ubuntu USN-1585-1
xf freeradius-cbtlsverify-bo(78408)
Last major update 29-08-2017 - 01:31
Published 18-09-2012 - 17:55
Back to Top