This site uses cookies own and third. If you continue to browse consider to accept the use of cookies. OK More Info.

Joomla! 3.0.3 Object Injection Vulnerability

  • 4 Replies
  • 5407 Views

0 Members and 1 Guest are viewing this topic.

Online ANTRAX

  • *
  • Administrator
  • Posts: 5801
  • Actividad:
    100%
  • Country: ar
  • Reputación 42
  • ANTRAX
  • Twitter: @Underc0de
    • View Profile
    • Underc0de
    • Email

Joomla! 3.0.3 Object Injection Vulnerability

  • on: April 29, 2013, 10:15:26 pm
Hola a todos! Les comparto esta vulnerabilidad para Joomla 3.0.3, el cual me lo compartió hielasangre

------------------------------------------------------------------
Joomla! <= 3.0.3 (remember.php) PHP Object Injection Vulnerability
------------------------------------------------------------------
 
 
[-] Software Link:
 
You are not allowed to view links. Register or Login
 
 
[-] Affected Versions:
 
Version 3.0.3 and earlier 3.0.x versions.
Version 2.5.9 and earlier 2.5.x versions.
 
 
[-] Vulnerability Description:
 
The vulnerable code is located in /plugins/system/remember/remember.php:
 
34. $hash = JApplication::getHash('JLOGIN_REMEMBER');
35.
36. if ($str = JRequest::getString($hash, '', 'cookie', JREQUEST_ALLOWRAW | JREQUEST_NOTRIM))
37. {
38.     // Create the encryption key, apply extra hardening using the user agent string.
39.     // Since we're decoding, no UA validity check is required.
40.     $privateKey = JApplication::getHash(@$_SERVER['HTTP_USER_AGENT']);
41.
42.     $key = new JCryptKey('simple', $privateKey, $privateKey);
43.     $crypt = new JCrypt(new JCryptCipherSimple, $key);
44.     $str = $crypt->decrypt($str);
45.     $cookieData = @unserialize($str);
 
User input passed through cookies is not properly sanitized before being used in an unserialize()
call at line 45. This could be exploited to inject arbitrary PHP objects into the application scope.
Successful exploitation of this vulnerability requires authentication because the attacker needs
to know the "hash string" used to read the cookie parameter at line 36.
 
 
[-] Solution:
 
Upgrade to version 2.5.10, 3.0.4 or 3.1.0.
 
 
[-] Disclosure Timeline:
 
[04/12/2012] - Vendor alerted for a possible vulnerability
[13/02/2013] - Vulnerability confirmed and proof of concept sent to the vendor
[24/04/2013] - Vendor update released
[26/04/2013] - Public disclosure
 
 
[-] CVE Reference:
 
The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the name CVE-2013-3242 to this vulnerability.
 
 
[-] Credits:
 
Vulnerability discovered by Egidio Romano.
 
 
[-] Original Advisory:
 
You are not allowed to view links. Register or Login
« Last Edit: April 29, 2013, 10:17:30 pm by ANTRAX »


Offline Mr. Foster

  • *
  • Underc0der
  • Posts: 107
  • Actividad:
    0%
  • Reputación 0
    • View Profile

Re:Joomla! 3.0.3 Object Injection Vulnerability

  • on: May 03, 2013, 03:14:33 pm
Hola! hablando de Joomla, he estado cabezeandome bastante con un hash que encontre en "una" pagina, con que script o tool podria descifrarla? (no se si es tema reposteado o tal vez desvirtue el tema), sorry. Saludos

Offline zoro248

  • *
  • Underc0der
  • Posts: 238
  • Actividad:
    0%
  • Reputación 0
    • View Profile
    • Email

Re:Joomla! 3.0.3 Object Injection Vulnerability

  • on: May 05, 2013, 01:07:09 am
Alguna pequeña explicacion de su uso?, funciona con todas las paginas que usan joomla o deben tener un plugin especifico para que la vulnerabilidad funcione?

Offline TUNOVATO

  • *
  • Underc0der
  • Posts: 21
  • Actividad:
    0%
  • Reputación 0
    • View Profile
    • Email

Re:Joomla! 3.0.3 Object Injection Vulnerability

  • on: May 05, 2013, 01:49:19 am
You are not allowed to view links. Register or Login
Alguna pequeña explicacion de su uso?, funciona con todas las paginas que usan joomla o deben tener un plugin especifico para que la vulnerabilidad funcione?

si por favor....   :o :o :o

Offline Mr_Pack

  • *
  • Underc0der
  • Posts: 59
  • Actividad:
    0%
  • Reputación 1
    • View Profile
    • r00tc0d3rs
    • Email

Re:Joomla! 3.0.3 Object Injection Vulnerability

  • on: May 17, 2013, 05:33:26 am
si no estoy mal se trata de inyectar por medio de una cookie maliciosa, si no es así disculparme.


salu2
____________________________

my best crime is myself