Vulnerabilities > CVE-2009-1612 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Baofeng Storm

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

Summary

Stack-based buffer overflow in the MPS.StormPlayer.1 ActiveX control in mps.dll 3.9.4.27 in Baofeng Storm allows remote attackers to execute arbitrary code via a long argument to the OnBeforeVideoDownload method, as exploited in the wild in April and May 2009. NOTE: some of these details are obtained from third party information. NOTE: it was later reported that 3.09.04.17 and earlier are also affected.

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

  • descriptionBaoFeng Storm mps.dll ActiveX OnBeforeVideoDownload Buffer Overflow. CVE-2009-1612. Remote exploit for windows platform
    idEDB-ID:16553
    last seen2016-02-02
    modified2010-04-30
    published2010-04-30
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/16553/
    titleBaoFeng Storm mps.dll ActiveX OnBeforeVideoDownload Buffer Overflow
  • descriptionBaoFeng ActiveX OnBeforeVideoDownload() Remote BOF Exploit. CVE-2009-1612. Remote exploit for windows platform
    fileexploits/windows/remote/8579.html
    idEDB-ID:8579
    last seen2016-02-01
    modified2009-04-30
    platformwindows
    port
    published2009-04-30
    reporterMITBOY
    sourcehttps://www.exploit-db.com/download/8579/
    titleBaoFeng ActiveX OnBeforeVideoDownload Remote BoF Exploit
    typeremote

Metasploit

descriptionThis module exploits a buffer overflow in BaoFeng's Storm media Player ActiveX control. Versions of mps.dll including 3.9.4.27 and lower are affected. When passing an overly long string to the method "OnBeforeVideoDownload" an attacker can execute arbitrary code.
idMSF:EXPLOIT/WINDOWS/BROWSER/BAOFENG_STORM_ONBEFOREVIDEODOWNLOAD
last seen2020-06-07
modified2017-10-05
published2010-03-02
referenceshttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1612
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/browser/baofeng_storm_onbeforevideodownload.rb
titleBaoFeng Storm mps.dll ActiveX OnBeforeVideoDownload Buffer Overflow

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/86836/baofeng_storm_onbeforevideodownload.rb.txt
idPACKETSTORM:86836
last seen2016-12-05
published2010-03-03
reporterjduck
sourcehttps://packetstormsecurity.com/files/86836/BaoFeng-Storm-mps.dll-ActiveX-OnBeforeVideoDownload-Buffer-Overflow.html
titleBaoFeng Storm mps.dll ActiveX OnBeforeVideoDownload Buffer Overflow