Bug Report Input Validation Hole in 'bug_report.php' Lets Remote Users Conduct Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1013957
|
|
SecurityTracker URL: http://securitytracker.com/id?1013957
|
|
CVE Reference: GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: May 12 2005
|
Impact: Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Fix Available: Yes
Exploit Included: Yes
Vendor Confirmed: Yes
|
Version(s): 1.0
|
Description: Sylvain Thual (An0nym0uS) reported a vulnerability in Bug Report. A remote user can conduct cross-site scripting attacks.
The 'bug_report.php' script does not properly validate user-supplied input. A remote user can submit specially crafted form values
that, when viewed by a target user via 'bug_list.php' or 'admin/index.php', will cause arbitrary scripting code to be executed by
the target user's browser. The code will originate from the site running the Bug Report software and will run in the security context
of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any,
associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site
acting as the target user.
The name, sujet, commentaires, os, navig, and url fields are affected.
|
Impact: A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the
vulnerable software, access data recently submitted by the target user via web form to the site, or take actions on the site acting
as the target user.
|
Solution: No solution was available at the time of this entry.
|
Vendor URL: e.fichot.free.fr/index.php?p=scripts (Links to External Site)
|
Cause: Input validation error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
Reported By: "An0nym0uS An0nym0uS" <hackisknowledge@hotmail.com>
|
Message History:
None.
|
Source Message Contents
|
Date: Tue, 10 May 2005 19:13:26 +0200
From: "An0nym0uS An0nym0uS" <hackisknowledge@hotmail.com>
Subject: Xss permanent dans Bug Report v1.0
|
------------------
*Bug Report v1.0*
------------------
Informations :
**************
Langage : PHP 4
Version : 1.0
Website : http://e.fichot.free.fr/demo/
Problème :
**********
-Xss permanent
Description :
****************
Permet aux visiteurs de reporter au webmaster les problèmes rencontrés .
Developpement :
****************
Le contenu des champs du formulaire du fichier bug_report.php ne sont pas
filtrés.Un utilisateur malveillant pourrait y insérer du script malveillant
qui serait inséré et éxécuté sur les pages bug_list.php et /admin/index.php
Pour corriger ce probléme,allez dans le fichier bug_report.php à la ligne 73
et rajoutez les lignes suivantes pour filtrer correctement les variables:
-------------------------------------
[...]
$name = strip_tags($name);
$sujet = strip_tags($sujet);
$commentaires = strip_tags($commentaires);
$os = strip_tags($os);
$navig = strip_tags($navig);
$url = strip_tags($url);
[...]
-------------------------------------
L'auteur a corrigé le probléme sur les versions en téléchargements.
Credits:
********
Auteur : Sylvain Thual aka An0nym0uS
E-mail : hackisknowledge@hotmail.com
Website : http://www.hackisknowledge.org/
Date : 08/05/04
|
|