(0Day) Horde Groupware Webmail Edition Event event_alarms Deserialization of Untrusted Data Remote Code Execution Vulnerability
The event_alarms parameter in Event.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-supplied event_alarms value without validating or restricting which classes can be instantiated.
Impact
An authenticated attacker could execute arbitrary code in the context of the www-data user; the text notes no patch was available at disclosure and recommends restricting interaction with the application.
What the attacker needed
Authenticated access to the application
The fix
The vendor was working on a fix but had not released one at disclosure, so the only suggested mitigation is to restrict interaction with the application.
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 complex data by turning it into a text format and later turning it back into objects, a process called deserialisation. If the program rebuilds objects from text a user controls without checking it, an attacker can sneak in an object that runs code when rebuilt. Here the event_alarms field was rebuilt without checks, letting a logged-in attacker run their own code on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.