Vulnerabilities > CVE-2008-3878 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Ultrashareware Ultra Office Control 2.0.2008.801

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
ultrashareware
CWE-119
exploit available
metasploit

Summary

Stack-based buffer overflow in the Ultra.OfficeControl ActiveX control in OfficeCtrl.ocx 2.0.2008.801 in Ultra Shareware Ultra Office Control allows remote attackers to execute arbitrary code via long strUrl, strFile, and strPostData parameters to the HttpUpload method.

Vulnerable Configurations

Part Description Count
Application
Ultrashareware
1

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

  • descriptionUltra Office ActiveX Control Remote Buffer Overflow Exploit. CVE-2008-3878. Remote exploit for windows platform
    fileexploits/windows/remote/6318.html
    idEDB-ID:6318
    last seen2016-02-01
    modified2008-08-27
    platformwindows
    port
    published2008-08-27
    reportershinnai
    sourcehttps://www.exploit-db.com/download/6318/
    titleUltra Office ActiveX Control Remote Buffer Overflow Exploit
    typeremote
  • descriptionUltra Shareware Office Control ActiveX HttpUpload Buffer Overflow. CVE-2008-3878. Remote exploit for windows platform
    idEDB-ID:16513
    last seen2016-02-02
    modified2010-09-20
    published2010-09-20
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/16513/
    titleUltra Shareware Office Control ActiveX HttpUpload Buffer Overflow

Metasploit

descriptionThis module exploits a stack-based buffer overflow in Ultra Shareware's Office Control. When processing the 'HttpUpload' method, the arguments are concatenated together to form a command line to run a bundled version of cURL. If the command fails to run, a stack-based buffer overflow occurs when building the error message. This is due to the use of sprintf() without proper bounds checking. NOTE: Due to input restrictions, this exploit uses a heap-spray to get the payload into memory unmodified.
idMSF:EXPLOIT/WINDOWS/BROWSER/ULTRAOFFICE_HTTPUPLOAD
last seen2020-03-15
modified2017-10-05
published2010-03-04
referenceshttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3878
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/browser/ultraoffice_httpupload.rb
titleUltra Shareware Office Control ActiveX HttpUpload Buffer Overflow

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/86916/ultraoffice_httpupload.rb.txt
idPACKETSTORM:86916
last seen2016-12-05
published2010-03-05
reportershinnai
sourcehttps://packetstormsecurity.com/files/86916/Ultra-Shareware-Office-Control-ActiveX-HttpUpload-Buffer-Overflow.html
titleUltra Shareware Office Control ActiveX HttpUpload Buffer Overflow