The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


[UNIX] PHPKit SQL Injection and XSS Vulnerabilities


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Date: 23 Nov 2004 18:17:57 +0200
From: SecuriTeam <support@securiteam.com.>
To: [email protected]
Subject: [UNIX] PHPKit SQL Injection and XSS Vulnerabilities

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 

- - - - - - - - -



  PHPKit SQL Injection and XSS Vulnerabilities
------------------------------------------------------------------------


SUMMARY

 <http://www.phpkit.de>; PHPKIT is "a modular developed homepage software 
which enables simple management messages contents, guest book, forums and 
more".

Due to improper sanity validation checks it is possible for an attacker to 
manipulate an SQL query and launch cross site scripting attacks.

DETAILS

Vulnerable Systems:
 * PHPKit version 1.6.03 to 1.6.1 inclusive

The cross site scripting attack is viable through the exploitation of the 
'img' HTTP parameter in the 'popup.php' script. Example:
http://www.target.com/phpkit/popup.php?img="><scr!pt>alert(document.cookie)</scr!pt>

Manipulation of the SQL command sent to the database is possible via the 
'id' parameter in the 'include.php' script. Example:
http://www.target.com/phpkit/include.php?path=guestbook/print.php&id=1'

The relevant piece of code is:
<?php
if (isset($_REQUEST['id'])) $id=$_REQUEST['id'];
$gbookinfo=$DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['gbook']."
WHERE gbook_id='".$id."' LIMIT 1"));
eval ("\$site_body.= \"".getTemplate("guestbook/print")."\";");
?>


ADDITIONAL INFORMATION

The information has been provided by  <mailto:steve01@chello.at.> Steve.




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: [email protected] In order to subscribe to the mailing list, simply forward this email to: [email protected]

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.

<< Previous INDEX Search src Set bookmark Go to bookmark Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру