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

PHP Support Tickets 1.3 SQL Injection

PHP Support Tickets 1.3 SQL Injection
Posted Oct 30, 2016
Authored by N_A

PHP Support Tickets version 1.3 suffers from a remote SQL injection vulnerability.

tags | exploit, remote, php, sql injection
SHA-256 | a27060d874f333afedcca3b251ee3aa8c31e17ba488a19b028c19ace2d6ad266

PHP Support Tickets 1.3 SQL Injection

Change Mirror Download
PHP_S_Tickets_v1.3 SQL Injection Vulnerabilty
================================================


Discovered by N_A, N_A[at]tutanota.com
=======================================



Description
============

PHP Support Tickets; will allow a webmaster the ability to offer its user base a means to contact its personnel through request vouchers.


https://sourceforge.net/projects/php-sup-tickets




Vulnerability
==============

An SQL Injection vulnerability exists that allows unsanitized commands to be passed into the MYSQL database.

The vulnerability resides inside the index.php and the config.php file:



index.php:
===========

############ AUTH SYSTEM ############
A
IF (isset($_POST['form']) && isset($_POST['username']) && isset($_POST['password']))
A A A {
A A A IF (AuthUser($_REQUEST['username'], $_REQUEST['password']))




unsanitized requests are handled by the function AuthUser which is located inside config.php:


config.php:
===========

Function AuthUser($user, $pass)
A A A {
A A A $query = "A A A SELECT tickets_users_password
A A A A A A A A A FROM tickets_users
A A A A A A A A A WHERE tickets_users_username = '$user'
A A A A A A A A A AND tickets_users_status != '0'";
A
A A A $result = @mysql_query($query);



The variable $user is passed to the MYSQL query completely unchecked and unsanitized and it is possible for command injection to take place here.





Email
======

N_A[at]tutanota.com

--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    0 Files
  • 6
    Sep 6th
    0 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    0 Files
  • 9
    Sep 9th
    0 Files
  • 10
    Sep 10th
    0 Files
  • 11
    Sep 11th
    0 Files
  • 12
    Sep 12th
    0 Files
  • 13
    Sep 13th
    0 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    0 Files
  • 19
    Sep 19th
    0 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 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