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

alibaba-exec.txt

alibaba-exec.txt
Posted Feb 8, 2007
Authored by cocoruder | Site ruder.cdut.net

A remote code execution vulnerability in Alipay's password input control "pta.dll" allows a remote attacker the ability to take complete control of the affected system.

tags | advisory, remote, code execution
SHA-256 | 53a11841b90cc60be21d85cb1e923255a3f54b83a76ff9ef3a462057f7747e9c

alibaba-exec.txt

Change Mirror Download
Alibaba Alipay Remote Code Execute Vulnerability

by cocoruder(frankruder_at_hotmail.com)
http://ruder.cdut.net


Summary:

Alipay is China¡¯s leading online payment service, and a division of
Alibaba.com. It enables individuals and businesses to securely, easily and
quickly send and receive payments online. Alipay works like an escrow
service, solving the issue of settlement risk in China. More details:

https://www.alipay.com

There exists a remote code execute vulnerability in alipay's passsword
input control "pta.dll". A remote attacker who successfully exploit these
vulnerabilities can completely take control of the affected system.



Affected Software Versions:

All current versions



Details:

This vulnerability exist in the function "Remove()" educed by
"pta.dll", following are some related imformations:

InprocServer32: pta.dll
ClassID : 66F50F46-70A0-4A05-BD5E-FBCC0F9641EC

[id(0x60030001), helpstring("method Remove")]
void Remove([in] int idx);

Let's see How function "Remove()" process the parameter "idx"£º

.text:10003D4E ; Remove
.text:10003D4E
.text:10003D4E sub_10003D4E proc near ; DATA XREF: .rdata:1000B3A4o
.text:10003D4E ; .rdata:1000B41Co ...
.text:10003D4E
.text:10003D4E arg_0 = dword ptr 4
.text:10003D4E arg_4 = dword ptr 8
.text:10003D4E
.text:10003D4E mov eax, [esp+arg_4]
.text:10003D52 test eax, eax
.text:10003D54 jl short loc_10003D78
.text:10003D56 push esi
.text:10003D57 mov esi, [esp+4+arg_0] ; get idx
.text:10003D5B shl eax, 4 ; idx << 4
.text:10003D5E add eax, [esi+8] ; [esi+8]=0
.text:10003D61 push edi ;
.text:10003D62 mov edi, eax ; idx << 4 ==>edi
.text:10003D64 mov eax, [edi+8] ; [(idx << 4)+8]
==>eax
.text:10003D67 push eax
.text:10003D68 mov ecx, [eax] ; [[(idx <<
4)+8]]==>ecx
.text:10003D6A call dword ptr [ecx+8] ; [[[(idx <<
4)+8]]+8]==>jmp addr
.text:10003D6D push edi
.text:10003D6E lea ecx, [esi+4]
.text:10003D71 call sub_10003F35
.text:10003D76 pop edi
.text:10003D77 pop esi
.text:10003D78
.text:10003D78 loc_10003D78: ; CODE XREF: sub_10003D4E+6j
.text:10003D78 xor eax, eax
.text:10003D7A retn 8
.text:10003D7A sub_10003D4E endp

The idx is a DWORD vaule what we can control, so we can complete an
interesting attack, for example when we set the idx 0x41414141, the
procedure will execute codes of address [[[14141410h+8]]+8].



Solution:

Set a killbit for "pta.dll", or, delete %system%\aliedit\pta.dll if you
do not use Alipay.



Disclosure Timeline:

2007.02.07 Advisory release



Attached File:

Here give an exploit, we se all address 0x0d0d0d0d which will access
its value, can gain attack result nicely.
Warning: This exploit is just used for reproducing the vulnerability,
please do not used for others.

http://ruder.cdut.net/attach/exploit_alipay_vul.rar



--EOF--

_________________________________________________________________
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn

Login or Register to add favorites

File Archive:

October 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close