Vulnerabilities > CVE-2013-4988 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Icofx

047910
CVSS 9.3 - CRITICAL
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
icofx
CWE-119
critical
exploit available
metasploit

Summary

Stack-based buffer overflow in IcoFX 2.5 and earlier allows remote attackers to execute arbitrary code via a long idCount value in an ICONDIR structure in an ICO file. NOTE: some of these details are obtained from third party information.

Common Attack Pattern Enumeration and Classification (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.

Exploit-Db

  • descriptionIcoFX - Stack Buffer Overflow. CVE-2013-4988. Local exploit for windows platform
    idEDB-ID:30788
    last seen2016-02-03
    modified2014-01-07
    published2014-01-07
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/30788/
    titleIcoFX - Stack Buffer Overflow
  • descriptionIcoFX 2.5.0.0 - (.ico) Buffer Overflow Vulnerability. CVE-2013-4988. Dos exploit for windows platform
    fileexploits/windows/dos/30208.txt
    idEDB-ID:30208
    last seen2016-02-03
    modified2013-12-11
    platformwindows
    port
    published2013-12-11
    reporterCore Security
    sourcehttps://www.exploit-db.com/download/30208/
    titleIcoFX 2.5.0.0 - .ico Buffer Overflow Vulnerability
    typedos

Metasploit

descriptionThis module exploits a stack-based buffer overflow vulnerability in version 2.1 of IcoFX. The vulnerability exists while parsing .ICO files, where a specially crafted ICONDIR header providing an arbitrary long number of images in the file can be used to trigger the overflow when reading the ICONDIRENTRY structures.
idMSF:EXPLOIT/WINDOWS/FILEFORMAT/ICOFX_BOF
last seen2020-06-07
modified2017-09-14
published2013-12-31
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/fileformat/icofx_bof.rb
titleIcoFX Stack Buffer Overflow

Packetstorm

Seebug

  • bulletinFamilyexploit
    descriptionBUGTRAQ ID:64221 CVE ID:CVE-2013-4988 IcoFX是一款免费的图标设计编辑工具。 IcoFX在读取ICONDIRENTRY结构时存在一个边界错误,允许攻击者利用漏洞构建恶意ICO文件,如ICONDIR结构中包含超大"idCount"值,诱使用户解析,可触发基于栈的缓冲区溢出。远程攻击者可以利用漏洞可使应用程序崩溃或可执行任意代码。 0 IcoFX IcoFX 2.5 目前没有详细解决方案提供: http://www.icofx.ro/
    idSSV:61303
    last seen2017-11-19
    modified2014-01-08
    published2014-01-08
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-61303
    titleIcoFX ICO处理缓冲区溢出漏洞
  • bulletinFamilyexploit
    descriptionNo description provided by source.
    idSSV:83649
    last seen2017-11-19
    modified2014-07-01
    published2014-07-01
    reporterRoot
    sourcehttps://www.seebug.org/vuldb/ssvid-83649
    titleIcoFX 2.5.0.0 (.ico) - Buffer Overflow Vulnerability