Vulnerabilities > CVE-2009-2286 - Buffer Errors vulnerability in James Ashton Compface 1.4/1.5/1.5.1

047910
CVSS 4.3 - MEDIUM
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
PARTIAL
network
james-ashton
CWE-119
exploit available

Summary

Buffer overflow in compface 1.5.2 and earlier allows user-assisted attackers to cause a denial of service (crash) via a long declaration in a .xbm file. NOTE: this issue only affects compface on distributions that used a certain patch.

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

  • descriptionCompface 1.1.5 (.xbm File) Local Buffer Overflow Exploit. CVE-2009-2286. Local exploit for linux platform
    idEDB-ID:9302
    last seen2016-02-01
    modified2009-07-30
    published2009-07-30
    reporterHis0k4
    sourcehttps://www.exploit-db.com/download/9302/
    titleCompface 1.1.5 - .xbm Local Buffer Overflow Exploit
  • descriptioncompface <= 1.5.2 (XBM File) Local Buffer Overflow PoC. CVE-2009-2286. Dos exploit for linux platform
    idEDB-ID:8982
    last seen2016-02-01
    modified2009-06-17
    published2009-06-17
    reportermetalhoney
    sourcehttps://www.exploit-db.com/download/8982/
    titlecompface <= 1.5.2 XBM File Local Buffer Overflow PoC

Seebug

bulletinFamilyexploit
descriptionBugraq ID: 35863 CVE ID:CVE-2009-2286 Compface是一款X-face格式转换的工具和库。 Compface处理'.xbm'文件存在缓冲区溢出,远程攻击者可以利用漏洞以应用程序权限执行任意指令。 构建包含超长条目的'.xbm'文件,诱使用户解析,可导致任意代码执行。 MandrakeSoft Enterprise Server 5 x86_64 MandrakeSoft Enterprise Server 5 James Ashton compface 1.5.2 Debian Linux 5.0 sparc Debian Linux 5.0 s/390 Debian Linux 5.0 powerpc Debian Linux 5.0 mipsel Debian Linux 5.0 mips Debian Linux 5.0 m68k Debian Linux 5.0 ia-64 Debian Linux 5.0 ia-32 Debian Linux 5.0 hppa Debian Linux 5.0 armel Debian Linux 5.0 arm Debian Linux 5.0 amd64 Debian Linux 5.0 alpha Debian Linux 5.0 Debian Linux 4.0 sparc Debian Linux 4.0 s/390 Debian Linux 4.0 powerpc Debian Linux 4.0 mipsel Debian Linux 4.0 mips Debian Linux 4.0 m68k Debian Linux 4.0 ia-64 Debian Linux 4.0 ia-32 Debian Linux 4.0 hppa Debian Linux 4.0 armel Debian Linux 4.0 arm Debian Linux 4.0 amd64 Debian Linux 4.0 alpha Debian Linux 4.0 厂商解决方案 用户可参考如下升级程序: MandrakeSoft Enterprise Server 5 x86_64 Mandriva compface-1.5.2-5.1mdvmes5.x86_64.rpm http://www.mandriva.com/en/download/ Mandriva lib64compface-devel-1.5.2-5.1mdvmes5.x86_64.rpm http://www.mandriva.com/en/download/ Mandriva lib64compface1-1.5.2-5.1mdvmes5.x86_64.rpm http://www.mandriva.com/en/download/ MandrakeSoft Enterprise Server 5 Mandriva compface-1.5.2-5.1mdvmes5.i586.rpm http://www.mandriva.com/en/download/ Mandriva libcompface-devel-1.5.2-5.1mdvmes5.i586.rpm http://www.mandriva.com/en/download/ Mandriva libcompface1-1.5.2-5.1mdvmes5.i586.rpm http://www.mandriva.com/en/download/
idSSV:11937
last seen2017-11-19
modified2009-07-30
published2009-07-30
reporterRoot
sourcehttps://www.seebug.org/vuldb/ssvid-11937
titleCompface '.xbm'文件缓冲区溢出漏洞