CVE-2023-49788 Improper handling of browser-side provided input in richdocuments path handling
Attackers can overwrite or read files outside the session directory in the Built-in CODE Server due to improper path handling, requiring an upgrade.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-49788?
CVE-2023-49788 is a high-severity path traversal vulnerability in CollaboraOnline online, published on 8 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Collabora Online is a collaborative online office suite based on LibreOffice technology. Unlike a standalone dedicated Collabora Online server, the Built-in CODE Server (richdocumentscode) is run without chroot sandboxing. Vulnerable versions of the richdocumentscode app can be susceptible to attack via modified client->server commands to overwrite files outside the sub directory the server has provided for the transient session. Files which can be accessed are limited to those that the server process has access to. The bug was fixed in Collabora Online - Built-in CODE Server (richdocumentscode) release 23.5.602. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Which versions are affected by CVE-2023-49788?
It affects 1 product.
Products include Collaboraoffice Richdocumentscode.
How do I fix CVE-2023-49788?
No fix has been published for CVE-2023-49788 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-49788 being exploited?
There is no known exploitation of CVE-2023-49788 in the wild and no public exploit code.