Exploiting CVE-2014-1691: Horde Framework PHP Object Injection
The Horde Framework contained a PHP object injection vulnerability that could be triggered through user-supplied input. An attacker could exploit this to inject arbitrary PHP objects and potentially achieve remote code execution.
karmainsecurity.com
Published on karmainsecurity.com
Welcome to my third blog post ever, the first in this new year, but still talking about an old friend of mine. Yes, 2014 is here, however the topic is always the same: PHP Object Injection!
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 the application passed user-controlled data into PHP's unserialize function without validating the resulting object types.
Impact
An attacker could inject arbitrary PHP objects, which may lead to remote code execution depending on available gadget chains.
What the attacker needed
Access to the vulnerable Horde endpoint
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 object injection happens when an application takes untrusted input and turns it into a PHP object without checking it. If the codebase has classes with dangerous methods, an attacker can chain them together to run code or read files. This report looks at such a flaw in the Horde Framework.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.