SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Forum/Board/Portal)  >   1Two News Vendors:   1two.org
1Two News Lets Remote Users Delete Images, Upload Images, and Conduct Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1013960
SecurityTracker URL:  http://securitytracker.com/id/1013960
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  May 12 2005
Impact:   Denial of service via network, Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of system information, Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): 1.0
Description:   Sylvain Thual (An0nym0uS) reported some vulnerabilities in 1Two News. A remote user can conduct cross-site scripting attacks. A remote user can delete images in news postings and can upload images to the site.

The 'index.php' script does not properly validate user-supplied input in several parameters. A remote user can submit specially crafted values that, when viewed by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the 1Two News 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 eom, email, siteweb, and commentaire fields are affected.

A remote user can invoke the 'delete.php' script to remove images associated with news postings on the site. A demonstration exploit URL is provided:

http://[target]/1TwoNewsv1.0/admin/delete.php?compteur=id

A remote user can also upload images via the 'admin/upload.php' script.

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the 1Two News 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.

A remote user can delete images from news posts.

A remote user can upload images to the site.

Solution:   The vendor has issued a fix.
Vendor URL:  www.1two.org/scripts-php/ (Links to External Site)
Cause:   Authentication error, Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  Multiples vuln dans 1Two News v1.0


------------------------
*1Two News v1.0*
------------------------

Informations :
**********
Langage : Php 4
Version : 1.0
Website : http://www.1two.org/

-XSS permanent
-Suppression d'image
-Upload d'images

Description:
***********
Ce script propose :
commentaires
- Un petit moteur de recherche
2) effacer les commentaires non voulus
page



Developpement :
*************
-XSS permanent
commentaire des news et concerne toutes les variable du formulaire d'ajout 
de commentaire (Nom ou pseudo,Email,Site Web,Commentaire).
Par le biais de cette faille,un utilisateur malveillant pourrait injecter du 

Solution:

------------------------------------
[...]
if (($_POST['soumettrecommentaire']=="Envoyer") and ($_POST['nom']!="") and 
($_POST['commentaire']!=""))
{
[...]
------------------------------------

Ajoutez les lignes suivantes :

------------------------------------
$nom=strip_tags($nom);
$email=strip_tags($email);
$siteweb=strip_tags($siteweb);
$commentaire=strip_tags($commentaire);
------------------------------------


-Suppression d'images
Pour supprimer l'image d'une news sans passer par l'identification ,il 

http://www.victime.com/1TwoNewsv1.0/admin/delete.php?compteur=id

-Upload d'images

-----------------------------------
<FORM METHOD="POST" 
ENCTYPE="multipart/form-data"action="http://www.site.com/admin/upload.php">
<INPUT TYPE=FILE NAME="file">
<input type="hidden" name="compteur" value=id_de_l_image>
<INPUT TYPE=SUBMIT NAME="upload_photo_news" value="Upload">
</FORM>
-------------------------------------


Credits:
******
Auteur : Sylvain Thual aka An0nym0uS
E-mail : hackisknowledge@hotmail.com
Website : http://www.hackisknowledge.org
Date : 01/05/05
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC