(0Day) Horde Groupware Webmail Edition prefs sync_calendars Deserialization of Untrusted Data Remote Code Execution Vulnerability
The prefs.php script in Horde Groupware Webmail Edition deserialises the sync_calendars parameter without validating user-supplied data. An authenticated attacker could exploit this to execute arbitrary code as the www-data user.
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 passes user-controlled input from the sync_calendars parameter directly into an unsafe deserialisation function without validation.
Impact
An authenticated attacker could execute arbitrary code with the privileges of the web server user, potentially compromising the entire application.
What the attacker needed
Authentication to the application
The fix
The vulnerability should be fixed by validating and sanitising the sync_calendars parameter before deserialisation, or by avoiding deserialisation of untrusted data altogether.
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.
Deserialisation is when a program turns stored data back into objects. If an attacker can control that data, they may be able to make the program create harmful objects that run code. Here, a logged-in user could send a crafted value in the sync_calendars parameter to run commands 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.