Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

[UNIX] PHP Fusion CMS Multiple Vulnerabilities (subheader.php, options.p

Subject: [UNIX] PHP Fusion CMS Multiple Vulnerabilities (subheader.php, options.php)
Date: 21 Nov 2005 16:25:31 +0200
The following security advisory is sent to the securiteam mailing list, and can 
be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  PHP Fusion CMS Multiple Vulnerabilities (subheader.php, options.php)
------------------------------------------------------------------------


SUMMARY

 <http://php-fusion.co.uk/> PHP-Fusion - "...a light-weight open-source 
content management system (CMS) written in PHP. It utilises a mySQL 
database to store your site content and includes a simple, comprehensive 
adminstration system. PHP-Fusion includes the most common features you 
would expect to see in many other CMS packages...."

An SQL injection and a path disclosure vulnerabilities have been 
discovered in PHP Fusion CMS.

DETAILS

Vulnerable Systems:
 * PHP-Fusion versions 6.00.206 and prior

Path disclosure in /subheader.php:
Although PHP-Fusion has a good protection against path disclosure, it 
looks like they've forgotten to include this protection here.

SQL Injection in /forum/options.php:
if (iMEMBER) {
      $data = dbarray(dbquery("SELECT * FROM ".$db_prefix."forums WHERE 
forum_id='".$forum_id."'"));

If the Forum is activated and you are logged in you can insert malicious 
code into the database trough the $forum_id variable.

/forum/viewforum.php?forum_id=4&lastvisited='[SQL injection]

SQL Injection in /forum/viewforum.php:
if (empty($lastvisited)) { $lastvisited = time(); }
[...]

$new_posts = dbcount("(post_id)", "posts", 
"thread_id='".$data['thread_id']."' and post_datestamp>'$lastvisited'");

To exploit this vulnerability you have to be logged out and a minimum of 
one thread should be posted in the forum. Malicious code can be inserted 
by requesting the following HTTP-request:

http://www.example.com/forum/viewforum.php?forum_id=1&lastvisited='

Workaround:
Set magic_quotes_gpc to ON.


ADDITIONAL INFORMATION

The information has been provided by  <mailto:r.verton@gmail.com> Robin 
Verton.



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: 
list-unsubscribe@securiteam.com 
In order to subscribe to the mailing list, simply forward this email to: 
list-subscribe@securiteam.com 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any 
kind. 
In no event shall we be liable for any damages whatsoever including direct, 
indirect, incidental, consequential, loss of business profits or special 
damages. 




<Prev in Thread] Current Thread [Next in Thread>
  • [UNIX] PHP Fusion CMS Multiple Vulnerabilities (subheader.php, options.php), SecuriTeam <=