SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   CA ARCserve Backup Vendors:   CA
CA BrightStor Backup Buffer Overflow in Mediasvr.exe Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1017830
SecurityTracker URL:  http://securitytracker.com/id/1017830
CVE Reference:   CVE-2007-1785   (Links to External Site)
Updated:  Apr 25 2007
Original Entry Date:  Mar 30 2007
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): 11.5 SP3 and prior versions; Tested on 11.5.2.0 (SP2) with latest patches
Description:   A vulnerability was reported in CA BrightStor Backup. A remote user can execute arbitrary code on the target system.

A remote user can send specially crafted RPC data to trigger a buffer overflow in 'Mediasvr.exe' and execute arbitrary code on the target system. The code will run with the privileges of the target service.

The vendor has been notified.

A demonstration exploit is available at:

http://www.shirkdog.us/camediasvrremote.py

The original advisory is available at:

http://www.shirkdog.us/shk-004.html

Shirkdog reported this vulnerability.

Impact:   A remote user can execute arbitrary code on the target system.
Solution:   The vendor has issued the following patches.

BrightStor ARCserve Backup r11.5 SP3 - QO87569
BrightStor ARCserve Backup r11.5 SP2 - QO87570
BrightStor ARCserve Backup r11.1 - QO87573
BrightStor ARCserve Backup r11.0 - QI82917
BrightStor Enterprise Backup r10.5 - QO87575
BrightStor ARCserve Backup v9.01 - QO87574

The CA advisory is available at:

http://supportconnectw.ca.com/public/storage/infodocs/babmedser-secnotice.asp

Vendor URL:  supportconnectw.ca.com/public/storage/infodocs/babmedser-secnotice.asp (Links to External Site)
Cause:   Boundary error
Underlying OS:  Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  [Full-disclosure] CA Brightstor Backup Mediasvr.exe Remote Code

--===============0776790353==
Content-Type: text/plain; format=flowed


[Shirkdog Security Advisory SHK-004]

Title:
------
Computer Associates (CA) Brightstor Backup Mediasvr.exe Remote Code 
Vulnerability

Description of Application:
---------------------------
http://www3.ca.com/solutions/ProductFamily.aspx?ID=115

Brightstor ARCserv Backup provides a complete, flexible and integrated 
backup and recovery solution for Windows, NetWare, Linux and UNIX 
environments.

Vulnerability(PoC):
-------------------
There seems to be an design error in the handling of RPC data with xdr 
procedures across several .dll's imported by Mediasvr.exe. Four bytes from 
an RPC packet are processed as a particular address (xdr_handle_t data which 
is run through multiple bit shifts, and reversing of bytes), and eventually 
loaded into ECX. The 191 (0xbf) procedure, followed by nulls (at least 8 
bytes of nulls, which may be Null Credentials and Auth?) leads to an 
exploitable condition.

.text:0040AACD 008 mov ecx, [esp+8]
.text:0040AAD1 008 mov dword_418820, esi
.text:0040AAD7 008 push offset dword_418820
.text:0040AADC 00C mov eax, [ecx]
.text:0040AADE 00C call dword ptr [eax+2Ch]

At this point, you have control of ECX (esp+8 is your address data). The 
data from the packet is stored in memory and is relatively static (see 
NOTE). The address is then loaded into EAX, and then called as EAX+2Ch, 
which is controllable data from the packet. In this code, I just jump ahead 
to the portbinding shellcode.
The following exploit opens up a shell on port 4444:

http://www.shirkdog.us/camediasvrremote.py


Impact:
----------
This vulnerability leads to remote code execution.

Risk Level:
--------------
Critical

Solution:
------------
CA has been notified

References:
--------------

[Shirkdog Security]
http://www.shirkdog.us/shk-004.html


Shirkdog
' or 1=1--
http://www.shirkdog.us

_________________________________________________________________
Join Now. 
http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://im.live.com/messenger/im/home/?source=hmtagline


--===============0776790353==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
--===============0776790353==--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC