CVE-2023-30188
ONLYOFFICE DocumentServer vulnerability analysis and mitigation

Overview

A Memory Exhaustion vulnerability was discovered in ONLYOFFICE Document Server versions 4.0.3 through 7.3.2, tracked as CVE-2023-30188. The vulnerability allows remote attackers to cause a denial of service through a crafted JavaScript file (MITRE CVE, NVD).

Technical details

The vulnerability exists in the Docbuilder component which uses a v8 engine to execute JavaScript code inside the process. The issue occurs through the /docbuilder API route, where an attacker with a valid JWT token can execute JavaScript code. The vulnerability specifically involves the Save_Alloc function, which can be exploited by executing it in an infinite loop, leading to uncontrolled memory allocation. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (GitHub POC).

Impact

When successfully exploited, this vulnerability can lead to a denial of service condition affecting the DocumentServer application and potentially the host system. The attack can cause memory exhaustion through continuous allocation of memory resources (GitHub POC).

Mitigation and workarounds

The vulnerability has been patched through a fix implemented in the ONLYOFFICE core repository. The patch removes the vulnerable functionality containing the SaveAlloc and SaveReAlloc methods (Core Patch).

Additional resources


SourceThis report was generated using AI

Related ONLYOFFICE DocumentServer vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-30187CRITICAL9.8
  • ONLYOFFICE DocumentServerONLYOFFICE DocumentServer
  • cpe:2.3:a:onlyoffice:document_server
NoYesAug 14, 2023
CVE-2023-30186CRITICAL9.8
  • ONLYOFFICE DocumentServerONLYOFFICE DocumentServer
  • cpe:2.3:a:onlyoffice:document_server
NoYesAug 14, 2023
CVE-2022-48422HIGH7.8
  • ONLYOFFICE DocumentServerONLYOFFICE DocumentServer
  • cpe:2.3:a:onlyoffice:document_server
NoYesMar 19, 2023
CVE-2023-30188HIGH7.5
  • ONLYOFFICE DocumentServerONLYOFFICE DocumentServer
  • cpe:2.3:a:onlyoffice:document_server
NoYesAug 14, 2023
CVE-2023-50883MEDIUM6.1
  • ONLYOFFICE DocumentServerONLYOFFICE DocumentServer
  • cpe:2.3:a:onlyoffice:document_server
NoYesSep 09, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management