Vulnerability Name:

CVE-2007-5358 (CCN-37051)

Assigned:2007-10-09
Published:2007-10-09
Updated:2018-10-15
Summary:Multiple buffer overflows in the voicemail functionality in Asterisk 1.4.x before 1.4.13, when using IMAP storage, might allow (1) remote attackers to execute arbitrary code via a long combination of Content-type and Content-description headers, or (2) local users to execute arbitrary code via a long combination of astspooldir, voicemail context, and voicemail mailbox fields.
Note: vector 2 requires write access to Asterisk configuration files.
CVSS v3 Severity:5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
5.0 Medium (Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): 
Access Complexity (AC): 
Authentication (Au): 
Impact Metrics:Confidentiality (C): 
Integrity (I): 
Availibility (A): 
4.4 Medium (CCN CVSS v2 Vector: AV:L/AC:M/Au:N/C:P/I:P/A:P)
3.2 Low (CCN Temporal CVSS v2 Vector: AV:L/AC:M/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): 
Access Complexity (AC): 
Athentication (Au): 
Impact Metrics:Confidentiality (C): 
Integrity (I): 
Availibility (A): 
Vulnerability Type:CWE-119
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2007-5358

Source: CONFIRM
Type: UNKNOWN
http://downloads.digium.com/pub/security/AST-2007-022.html

Source: CCN
Type: AST-2007-022
Buffer overflows in voicemail when using IMAP storage

Source: OSVDB
Type: UNKNOWN
38201

Source: OSVDB
Type: UNKNOWN
38202

Source: CCN
Type: SA27184
Asterisk IMAP Storage Voicemail Buffer Overflow

Source: SECUNIA
Type: UNKNOWN
27184

Source: CCN
Type: SECTRACK ID: 1018804
Asterisk IMAP Voicemail Buffer Overflows Let Remote and Local Users Execute Arbitrary Code

Source: CCN
Type: OSVDB ID: 38201
Asterisk IMAP Voicemail Backend Crafted Content Header Remote Overflow

Source: CCN
Type: OSVDB ID: 38202
Asterisk IMAP Voicemail Backend Crafted Fields Local Overflow

Source: BUGTRAQ
Type: UNKNOWN
20071010 AST-2007-022: Buffer overflows in voicemail when using IMAP storage

Source: BID
Type: UNKNOWN
26005

Source: CCN
Type: BID-26005
Asterisk IMAP-Specific Voicemail Multiple Buffer Overflow Vulnerabilities

Source: SECTRACK
Type: UNKNOWN
1018804

Source: VUPEN
Type: UNKNOWN
ADV-2007-3454

Source: XF
Type: UNKNOWN
asterisk-sprintf-bo(37051)

Source: XF
Type: UNKNOWN
asterisk-sprintf-bo(37051)

Source: XF
Type: UNKNOWN
asterisk-contentheader-bo(37052)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:digium:asterisk:*:*:*:*:*:*:*:* (Version <= 1.4.12)

  • * Denotes that component is vulnerable
    Vulnerability Name:

    CVE-2007-5358 (CCN-37052)

    Assigned:2007-10-09
    Published:2007-10-09
    Updated:2007-10-09
    Summary:Asterisk IMAP storage is vulnerable to a buffer overflow, caused by improper bounds checking by the sprintf function IMAP code. By sending a specially-crafted voicemail as an email message that contains over 1024 characters in the Content-type or Content-description header, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the server to crash.

    Note: This vulnerability only affects voicemail retrieved by telephone.
    CVSS v3 Severity:7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
    Exploitability Metrics:Attack Vector (AV): Network
    Attack Complexity (AC): Low
    Privileges Required (PR): None
    User Interaction (UI): None
    Scope:Scope (S): Unchanged
    Impact Metrics:Confidentiality (C): Low
    Integrity (I): Low
    Availibility (A): Low
    CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
    5.0 Medium (Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
    Exploitability Metrics:Access Vector (AV): 
    Access Complexity (AC): 
    Authentication (Au): 
    Impact Metrics:Confidentiality (C): 
    Integrity (I): 
    Availibility (A): 
    6.8 Medium (CCN CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
    5.0 Medium (CCN Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
    Exploitability Metrics:Access Vector (AV): 
    Access Complexity (AC): 
    Athentication (Au): 
    Impact Metrics:Confidentiality (C): 
    Integrity (I): 
    Availibility (A): 
    Vulnerability Consequences:Gain Access
    References:Source: MITRE
    Type: CNA
    CVE-2007-5358

    Source: CCN
    Type: AST-2007-022
    Buffer overflows in voicemail when using IMAP storage

    Source: CCN
    Type: SA27184
    Asterisk IMAP Storage Voicemail Buffer Overflow

    Source: CCN
    Type: SECTRACK ID: 1018804
    Asterisk IMAP Voicemail Buffer Overflows Let Remote and Local Users Execute Arbitrary Code

    Source: CCN
    Type: OSVDB ID: 38201
    Asterisk IMAP Voicemail Backend Crafted Content Header Remote Overflow

    Source: CCN
    Type: OSVDB ID: 38202
    Asterisk IMAP Voicemail Backend Crafted Fields Local Overflow

    Source: CCN
    Type: BID-26005
    Asterisk IMAP-Specific Voicemail Multiple Buffer Overflow Vulnerabilities

    Source: XF
    Type: UNKNOWN
    asterisk-contentheader-bo(37052)

    BACK
    digium asterisk *