Exploit database

Vulnerability

CVE-2012-10058

RabidHamster R4 Log Entry sprintf() Buffer Overflow

Vulnerability details

Score
10.0
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:H/SI:H/SA:H

Description

RabidHamster R4 v1.25 contains a stack-based buffer overflow vulnerability due to unsafe use of sprintf() when logging malformed HTTP requests. A remote attacker can exploit this flaw by sending a specially crafted URI, resulting in arbitrary code execution under the context of the web server process.

CVE Program

Exploit source choices

2 sources
RabidHamster R4 Log Entry sprintf() Buffer Overflow
MSF-windows--http--rabidhamster_r4_logMetasploitWindows / remote

This module exploits a vulnerability found in RabidHamster R4's web server. By supplying a malformed HTTP request, it is possible to trigger a stack-based buffer overflow when generating a log, which may result in arbitrary code execution under the context of the user.

2012-02-09rabidhamster_r4_log.rb