Lucene search
+L

Joomla! 3.0.3 PHP Object Injection

🗓️ 29 Apr 2013 00:00:00Reported by EgiXType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 62 Views

Joomla! 3.0.3 PHP Object Injection vulnerability in remember.php plugi

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Joomla! 3.0.3 PHP Object Injection Vulnerability
30 Apr 201300:00
–zdt
freebsd
FreeBSD
Joomla! -- XXS and DDoS vulnerabilities
24 Apr 201300:00
–freebsd
circl
Circl
CVE-2013-3242
26 Apr 201300:00
–circl
cve
CVE
CVE-2013-3242
3 May 201310:00
–cve
cvelist
Cvelist
CVE-2013-3242
3 May 201310:00
–cvelist
exploitdb
Exploit DB
Joomla! 3.0.3 - 'remember.php' PHP Object Injection
26 Apr 201300:00
–exploitdb
euvd
EUVD
EUVD-2013-3179
7 Oct 202500:30
–euvd
exploitpack
exploitpack
Joomla! 3.0.3 - remember.php PHP Object Injection
26 Apr 201300:00
–exploitpack
nessus
Tenable Nessus
FreeBSD : Joomla! -- XXS and DDoS vulnerabilities (57df803e-af34-11e2-8d62-6cf0490a8c18)
29 Apr 201300:00
–nessus
nessus
Tenable Nessus
Joomla! 2.5.x < 2.5.10 / 3.0.x < 3.0.4 Multiple Vulnerabilities
13 May 201300:00
–nessus
Rows per page
`------------------------------------------------------------------  
Joomla! <= 3.0.3 (remember.php) PHP Object Injection Vulnerability  
------------------------------------------------------------------  
  
  
[-] Software Link:  
  
http://www.joomla.org/  
  
  
[-] 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:  
  
http://karmainsecurity.com/KIS-2013-04  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation