Vulnerabilities > CVE-2007-1682 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Softartisans Xfile

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

Summary

Multiple stack-based buffer overflows in the FileManager ActiveX control in SAFmgPws.dll in SoftArtisans XFile before 2.4.0 allow remote attackers to execute arbitrary code via unspecified calls to the (1) BuildPath, (2) GetDriveName, (3) DriveExists, or (4) DeleteFile method.

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

descriptionSoftArtisans XFile FileManager ActiveX Control Buffer Overflow. CVE-2007-1682. Remote exploit for windows platform
idEDB-ID:16592
last seen2016-02-02
modified2010-05-09
published2010-05-09
reportermetasploit
sourcehttps://www.exploit-db.com/download/16592/
titleSoftArtisans XFile FileManager ActiveX Control Buffer Overflow

Metasploit

descriptionThis module exploits a stack buffer overflow in SoftArtisans XFile FileManager ActiveX control (SAFmgPwd.dll 2.0.5.3). When sending an overly long string to the GetDriveName() method an attacker may be able to execute arbitrary code.
idMSF:EXPLOIT/WINDOWS/BROWSER/SOFTARTISANS_GETDRIVENAME
last seen2019-12-26
modified2017-10-05
published2008-10-14
referenceshttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1682
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/browser/softartisans_getdrivename.rb
titleSoftArtisans XFile FileManager ActiveX Control Buffer Overflow

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/82924/softartisans_getdrivename.rb.txt
idPACKETSTORM:82924
last seen2016-12-05
published2009-10-30
reporterMC
sourcehttps://packetstormsecurity.com/files/82924/SoftArtisans-XFile-FileManager-ActiveX-Control-Buffer-Overflow.html
titleSoftArtisans XFile FileManager ActiveX Control Buffer Overflow

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID:30826 CVE ID:CVE-2007-1682 CNCVE ID:CNCVE-20081682 SoftArtisans XFile是一款文件传送应用程序ActiveX控件。 XFile FileManager ActiveX控件存在多个缓冲区溢出,远程攻击者可以利用漏洞以应用程序权限执行任意指令。 由SAFmgPws.dll提供的XFile FileManager ActiveX控件处理BuildPath(), GetDriveName(), DriveExists(), 和DeleteFile()方法时对参数缺少充分边界检查,构建恶意WEB页,诱使用户访问,可导致以应用程序权限执行任意指令。 SoftArtisans XFile 2.3.4 SoftArtisans XFile 2.2.3 目前没有解决方案提供: <a href=http://support.softartisans.com/Support-114.aspx target=_blank>http://support.softartisans.com/Support-114.aspx</a>
idSSV:3914
last seen2017-11-19
modified2008-08-26
published2008-08-26
reporterRoot
titleSoftArtisans XFile文件管理器ActiveX控件多个缓冲区溢出漏洞