Secunia Research: Zikula Application Framework PHP Object Injection Vulnerabilities

======================================================================

                    Secunia Research 10/03/2014

  Zikula Application Framework PHP Object Injection Vulnerabilities

======================================================================
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10

======================================================================
1) Affected Software

* Zikula Application Framework 1.3.6 build 28

NOTE: Other versions may also be affected.

======================================================================
2) Severity 

Rating: Highly critical
Impact: System access, Manipulation of data
Where:  From remote

======================================================================
3) Vendor's Description of Software 

"Zikula is an open source MVC web application framework, released
under the LGPLv3, that allows you to rapidly build websites for
any application including all forms of content management. Zikula
is fast and flexible and easily extendable via a system on plugins,
themes and extensions."

Product Link:
http://zikula.org/
 
======================================================================
4) Description of Vulnerabilities

Secunia Research has discovered multiple vulnerabilities in
Zikula Application Framework, which can be exploited by malicious
people to manipulate certain data or compromise a vulnerable system.

1) Input passed via the "authentication_method_ser" and
"authentication_info_ser" POST parameters to index.php (when "module"
is set to "users", "func" is set to "register", "csrftoken" is set to
a valid value, and "registration_info" is set to an arbitrary value)
is not properly sanitised before being used in a call to the
"unserialize()" function. This can be exploited to e.g. delete
arbitrary files or inject and execute arbitrary PHP code via
specially crafted serialized objects.

Successful exploitation of this vulnerability requires
the user registration to be enabled (enabled by default).

2) Input passed via the "zikulaMobileTheme" cookie parameter to
index.php is not properly sanitised before being used in a call to
the "unserialize()" function in the /lib/util/SecurityUtil.php script.
This can be exploited to e.g. delete arbitrary files or inject and
execute arbitrary PHP code via specially crafted serialized objects
sent in a "Cookie" header.

======================================================================
5) Solution 

Update to version 1.3.7 build 11.

======================================================================
6) Time Table 

16/01/2014  Request for contact details.
16/01/2014  Vendor response.
21/01/2014  Vendor notified.
26/01/2014  Vendor response, fix scheduled for mid February.
17/02/2014  Vendor releases updates.
10/03/2014  Public disclosure.

======================================================================
7) Credits 

Discovered by Egidio Romano, Secunia Research.

======================================================================
8) References

The Common Vulnerabilities and Exposures (CVE) project has assigned
the CVE-2014-2293 identifier for the vulnerabilities.
 
======================================================================
9) About Secunia

Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:

http://secunia.com/advisories/business_solutions/

Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private 
individuals, who are interested in or concerned about IT-security.

http://secunia.com/advisories/

Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the 
security and reliability of software in general:

http://secunia.com/secunia_research/

Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:

http://secunia.com/corporate/jobs/

Secunia offers a FREE mailing list called Secunia Security Advisories:

http://secunia.com/advisories/mailing_lists/

======================================================================
10) Verification 

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2014-2/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

======================================================================