Exploit database

Vulnerability

CVE-2012-10053

Simple Web Server Connection Header Buffer Overflow

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

Simple Web Server 2.2 rc2 contains a stack-based buffer overflow vulnerability in its handling of the Connection HTTP header. When a remote attacker sends an overly long string in this header, the server uses vsprintf() without proper bounds checking, leading to a buffer overflow on the stack. This flaw allows remote attackers to execute arbitrary code with the privileges of the web server process. The vulnerability is triggered before authentication.

CVE Program

Exploit source choices

4 sources
Simple Web Server Connection Header Buffer Overflow
MSF-windows--http--sws_connection_bofMetasploitWindows / remote

This module exploits a vulnerability in Simple Web Server 2.2 rc2. A remote user can send a long string data in the Connection Header to causes an overflow on the stack when function vsprintf() is used, and gain arbitrary code execution. The module has been tested successfully on Windows 7 SP1 and Windows XP SP3.

2012-07-20sws_connection_bof.rb
S.O.M.P.L 1.0 Player Buffer Overflow
MSF-windows--fileformat--somplplayer_m3uMetasploitWindows / remote

This module exploits a buffer overflow in Simple Open Music Player v1.0. When the application is used to import a specially crafted m3u file, a buffer overflow occurs allowing arbitrary code execution.

2010-01-22somplplayer_m3u.rb