Yet Another Joomla PHP Object Injection Vulnerability
A PHP object injection vulnerability existed in Joomla's remember-me plugin, where user-controlled cookie data was passed to unserialize(). An attacker could potentially exploit this to execute arbitrary code, though the encryption system may have limited exploitability.
karmainsecurity.com
Published on karmainsecurity.com
Last week I have disclosed KIS-2013-04, another PHP Object Injection vulnerability which affects the Joomla CMS. I had initially reported this vulnerability to the Joomla Security Strike Team in December last year, within an e-mail reply about the KIS-2013-03 vulnerability: “Furthermore, I would suggest you to…
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 called unserialize() on cookie data without sufficient validation or integrity checks, allowing attacker-controlled serialised objects to be processed.
Impact
An attacker could potentially execute arbitrary code, but the encryption system may have prevented exploitation.
What the attacker needed
Victim or attacker can set cookies
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 is a flaw where an application turns untrusted text into internal programming objects. If the application later uses those objects in dangerous ways, an attacker can trigger harmful actions. Here, a cookie value was fed into a function that rebuilds objects, which is risky because cookies can be set by anyone.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.