(0Day) Horde Groupware Webmail Edition Collection portal_layout Deserialization of Untrusted Data Remote Code Execution Vulnerability
The portal_layout parameter in Collection.php is not properly validated before being deserialised, so an authenticated attacker can supply crafted data that leads to code execution. The attacker can run code as the www-data user on affected Horde Groupware Webmail Edition installations.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Horde Groupware Webmail Edition. Authentication is required to exploit this vulnerability.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application deserialises the user-controlled portal_layout value without validating or restricting which classes can be created.
Impact
An authenticated attacker could execute arbitrary code as the www-data user; the text notes the only mitigation is to restrict interaction with the application.
What the attacker needed
Authentication to the application
The fix
The vendor was working on a fix but no patch was available at disclosure, so the parameter should be validated and deserialisation restricted.
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 report has not been written yet. The Original tab links to the source.
Some programs save data by turning it into a text format and later turning it back into objects, a process called deserialisation. If an attacker can control that text, they may be able to make the program build objects it never intended to, and sometimes run their own code. Here the portal_layout setting was turned back into objects without checking it first.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.