what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

shk-004.txt

shk-004.txt
Posted Apr 2, 2007
Authored by M. Shirk

Computer Associates (CA) Brightstor Backup suffers from a remote code execution vulnerability in Mediasvr.exe.

tags | advisory, remote, code execution
SHA-256 | 3f5b72ba1d741c2f1af11dd43b6615839776262ab1ae08113f6424e968ce231f

shk-004.txt

Change Mirror Download

[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

_________________________________________________________________
i'm making a difference. Make every IM count for the cause of your choice.
Join Now.
http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://im.live.com/messenger/im/home/?source=hmtagline

Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    0 Files
  • 16
    Jul 16th
    0 Files
  • 17
    Jul 17th
    0 Files
  • 18
    Jul 18th
    0 Files
  • 19
    Jul 19th
    0 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    0 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close