Exploit database

Vulnerability

CVE-2005-2799

Vulnerability details

Score
7.5
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:P/I:P/A:P

Description

Buffer overflow in apply.cgi in Linksys WRT54G 3.01.03, 3.03.6, and possibly other versions before 4.20.7, allows remote attackers to execute arbitrary code via a long HTTP POST request.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

4 sources
Linksys WRT54GL apply.cgi Command Execution
MSF-linux--http--linksys_wrt54gl_apply_execMetasploitLinux,Unix / remote

Some Linksys Routers are vulnerable to an authenticated OS command injection in the Web Interface. Default credentials are admin/admin or admin/password. Since it is a blind os command injection vulnerability, there is no output for the executed command when using the cmd generic payload. A ping command against a controlled system could be used for testing purposes. The user must be prudent when using this module since it modifies the router configuration while exploitation, even when it tries to restore previous values.

2013-01-18linksys_wrt54gl_apply_exec.rb
Linksys WRT54 Access Point apply.cgi Buffer Overflow
MSF-linux--http--linksys_apply_cgiMetasploitLinux / remote

This module exploits a stack buffer overflow in apply.cgi on the Linksys WRT54G and WRT54GS routers. According to iDefense who discovered this vulnerability, all WRT54G versions prior to 4.20.7 and all WRT54GS version prior to 1.05.2 may be affected.

2005-09-13linksys_apply_cgi.rb