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

PHP Support Tickets 1.3 Local File Inclusion

PHP Support Tickets 1.3 Local File Inclusion
Posted Oct 30, 2016
Authored by N_A

PHP Support Tickets version 1.3 suffers from a local file inclusion vulnerability.

tags | exploit, local, php, file inclusion
SHA-256 | 77ce766da24cd320c33836afab1cba31c7c36fbc622860543bfde78eaf3e05f2

PHP Support Tickets 1.3 Local File Inclusion

Change Mirror Download
PHP_S_Tickets_v1.3 File Inclusion Vulnerability
================================================


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 personell through request vouchers.


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




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


The vulnerability resides inside the index.php file:


############ INCLUDE THE CONFIG, LANGUAGE AND HEADER FILE ############
A
include('config.php');
A
IF (!isset($_REQUEST['lang']))
A A A $_REQUEST['lang'] = $langdefault;
A
include('language/'.$_REQUEST['lang'].'.php');
A
include('header.php');



We can establish that we have direct control over the 'lang' variable by either POST, GET or COOKIE method as this is allowed by PHP.



By default PHP has allow_url_include disabled inside php.ini so RFI may not be possible.




Exploitation
=============


It is possible to execute *any* php file on the server and possibly other vhosts inside the /var/ directory or where other vhosts reside. Any php file will be executed by issuing the correct request i.e a correct directory with the php file inside that you wish to execute.

Example:

http://127.0.0.1/PHP_S_Tickets_v1.3/index.php?lang=/path/to/phpfile

http://127.0.0.1/PHP_S_Tickets_v1.3/index.php?lang=../../../../../../tmp/phpshell


*NOTE - do not issue the request for phpshell.php as the code in the file attaches .php to the end of the requested file so the file name is needed with out the .php extension.

i.eA index.php?../indexA A A A - will open and execute index.php






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:

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