Zikula Application Framework <= 1.3.6 Multiple PHP Object Injection Vulnerabilities
The registration handler passes two POST parameters into PHP's unserialize() without proper sanitisation. An attacker could exploit this to inject arbitrary PHP objects, which may lead to further compromise depending on available gadget chains.
karmainsecurity.com
Published on karmainsecurity.com
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2014-2293 to these vulnerabilities.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely user-controlled POST parameters are passed directly to unserialize() without validation, allowing PHP object injection.
Impact
An attacker could inject arbitrary PHP objects, which may lead to further exploitation such as code execution, though the text does not demonstrate a full chain.
What the attacker needed
Valid csrftoken; registration enabled
How it was found
- Send a POST request to index.php with module set to users and func set to register.
- Include a valid csrftoken and an arbitrary registration_info value.
- Place a crafted serialised object in the authentication_method_ser and authentication_info_ser parameters.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
PHP can turn a piece of text into a live object in memory using a function called unserialize. If a website feeds user-supplied text into that function, an attacker can craft the text so that the resulting object triggers other code the site already contains. This report says the registration form does exactly that with two input fields.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.