Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-05-2016, 12:09 PM   #1
AdultKing
Raise Your Weapon
 
AdultKing's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,605
:stop IMPORTANT! Multiple TubeX Security Vulnerabilities

As some of you will know I updated TGPX to be compatible with later versions of PHP

https://github.com/rjkmelb/TGPX-Updated

People are using this version with good results.

Several people asked that TubeX be updated, however the script is ancient and would require a lot of work to update, but more importantly there is a fundamental flaw in TubeX that opens up serious vulnerabilities if you are running it on PHP 5.5 or below. An additional more serious security vulnerability presents itself when using PHP 5.3.

For obvious reasons I'm not going to post the precise details of the way to exploit these but my advice to anyone using TubeX is to abandon TubeX as soon as possible.

The risks:

PHP 5.3

- Remote code execution which allows the attacker to run arbitrary code with the privileges of the user account on which TubeX is installed.

- SQL injection which allows the attacker to modify your database

- File system modification which allows the attacker to write files to the root directory of the TubeX installation including replacing files like .htaccess

- XSS cross site scripting vulnerability which allows the attacker to inject client-side code into pages viewed by users of your site

PHP 5.5

- SQL injection which allows the attacker to modify your database

- XSS cross site scripting vulnerability which allows the attacker to inject client-side code into pages viewed by users of your site (can be minimised see below)

THERE IS NOTHING THAT CAN BE DONE TO RECTIFY THESE ISSUES WITHOUT A MAJOR CODE UPDATE!

If you are running Apache with PHP 5.5 the following code should be added to the top of your .htaccess file

Code:
<IfModule mod_headers.c>
  Header set X-XSS-Protection "1; mode=block"
  Header set X-Frame-Options SAMEORIGIN
  Header set X-Content-Type-Options nosniff
</IfModule>
However if you are running PHP 5.3 you should remove TubeX from your system.

I know that there are several forums on which people are maintaining JMB Software scripts however TubeX is beyond hope IMHO. It's dangerous to have on your system if you are running PHP 5.3 and risky to have on your system if you are running PHP 5.5

Note: I have NOT tested these issues on PHP 5.6 and don't intend to.
AdultKing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2016, 12:58 PM   #2
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
I suppose it was good call to make my own tube script instead using tubex.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-05-2016, 01:01 PM   #3
beerptrol
Confirmed Asshole
 
beerptrol's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: Half way between sobriety and fubar.
Posts: 12,722
Quote:
Originally Posted by KlenTelaris View Post
I suppose it was good call to make my own tube script instead using tubex.
That or use one that's being updated constantly by the owner
__________________
“If we are to have another contest in the near future of our national existence, I predict that the dividing line will not be Mason and Dixon's but between patriotism and intelligence on the one side, and superstition, ambition and ignorance on the other.”
-- Ulysses S. Grant
beerptrol is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-06-2016, 05:54 PM   #4
AdultKing
Raise Your Weapon
 
AdultKing's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,605
bumping this as I realise I posted this on a US holiday
AdultKing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
php, tubex, code, attacker, running, system, site, header, set, vulnerability, people, updated, inject, files, security, vulnerabilities, client-side, users, viewed, pages, issues, scripting, injection, modify, file
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.