Exploit database

Vulnerability

CVE-2014-125117

D-Link info.cgi POST Request Stack-Based Buffer Overflow RCE

Vulnerability details

Score
9.3
Severity
critical

CVSS 4.0 · VulnCheck

Vector string

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

A stack-based buffer overflow vulnerability in the my_cgi.cgi component of certain D-Link devices, including the DSP-W215 version 1.02, can be exploited via a specially crafted HTTP POST request to the /common/info.cgi endpoint. This flaw enables an unauthenticated attacker to achieve remote code execution with system-level privileges.

CVE Program

Exploit source choices

2 sources
D-Link info.cgi POST Request Buffer Overflow
MSF-linux--http--dlink_dspw215_info_cgi_bofMetasploitLinux / remote

This module exploits an anonymous remote code execution vulnerability on different D-Link devices. The vulnerability is a stack based buffer overflow in the my_cgi.cgi component, when handling specially crafted POST HTTP requests addresses to the /common/info.cgi handler. This module has been successfully tested on D-Link DSP-W215 in an emulated environment.

2014-05-22dlink_dspw215_info_cgi_bof.rb