header-logo
Suggest Exploit
vendor:
Joomla!
by:
Egidio Romano
7,5
CVSS
HIGH
PHP Object Injection
502
CWE
Product Name: Joomla!
Affected Version From: 3.0.2 and earlier 3.0.x versions, 2.5.8 and earlier 2.5.x versions
Affected Version To: None
Patch Exists: YES
Related CWE: CVE-2013-1453
CPE: None
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: None
2013

Joomla! <= 3.0.2 (highlight.php) PHP Object Injection Vulnerability

User input passed through the 'highlight' parameter is not properly sanitized before being used in an unserialize() call at line 58. This can be exploited to inject arbitrary PHP objects into the application scope. Successful exploitation of this vulnerability doesn't require authentication, but requires the 'System Highlight' plugin to be enabled (such as by default configuration).

Mitigation:

Upgrade to version 3.0.3 or 2.5.9.
Source

Exploit-DB raw data:

-------------------------------------------------------------------
Joomla! <= 3.0.2 (highlight.php) PHP Object Injection Vulnerability
-------------------------------------------------------------------


[-] Software Link:

http://www.joomla.org/


[-] Affected Versions:

Version 3.0.2 and earlier 3.0.x versions.
Version 2.5.8 and earlier 2.5.x versions.


[-] Vulnerability Description:

The vulnerable code is located in /plugins/system/highlight/highlight.php:

56.	// Get the terms to highlight from the request.
57.	$terms = $input->request->get('highlight', null, 'base64');
58.	$terms = $terms ? unserialize(base64_decode($terms)) : null;

User input passed through the "highlight" parameter is not properly sanitized before being used in
an unserialize() call at line 58. This can be exploited to inject arbitrary PHP objects into the
application scope. Successful exploitation of this vulnerability doesn't require authentication,
but requires the "System Highlight" plugin to be enabled (such as by default configuration).


[-] Solution:

Upgrade to version 3.0.3 or 2.5.9.


[-] Disclosure Timeline:

[31/10/2012] - Vendor notified
[08/11/2012] - Vendor asked for a proof of concept
[08/11/2012] - Proof of concept provided to the vendor
[04/02/2013] - Vendor update released
[27/02/2013] - Public disclosure


[-] CVE Reference:

The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the name CVE-2013-1453 to this vulnerability.


[-] Credits:

Vulnerability discovered by Egidio Romano.


[-] Original Advisory:

http://karmainsecurity.com/KIS-2013-03