Skip to content
GoogleGHSA-m2m5-rmgj-jg93

OnlyOffice: Docker Man-in-the-middle attack (MitM)

LowPublished Apr 22, 2025

### Summary The OnlyOffice Community Server Docker image downloads a `.deb` file from [archive.ubuntu.com](http://archive.ubuntu.com/) via HTTP. The download is thus vulnerable to Man-in-the-Middle attacks. Furthermore, the `.deb` file is then installed without signatures being validated. This allows an attacker who either interferes with the download through MitM or compromised an Ubuntu server / mirror to run arbitrary code on servers building this image. ### Severity Low - An attacker with MitM capabilities or an attacker who has compromised an Ubuntu mirror can identify CI/CD builds of this image and supply a backdoored `.deb` file, resulting in a compromise of the Docker image. ### Proof of Concept The multiarch-support_2.27-3ubuntu1_amd64.deb file is downloaded from [archive.ubuntu.com](http://archive.ubuntu.com/) via HTTP and is thus vulnerable to MitM. In addition, the .deb file is then installed without verifying a signature for it: https://github.com/ONLYOFFICE/Docker-CommunityServer/blob/c03f03df67ebbd3410a7ab0e4a454d111a1d4ade/Dockerfile#L62 ```bash wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/multiarch-support_2.27-3ubuntu1_amd64.deb && \ apt-get instal...

GitHub advisory

Affected versions

PackageAffectedFixed in
OnlyOffice Community Server docker image
Product
all versionsNo fix yet
Details and references

### Summary The OnlyOffice Community Server Docker image downloads a `.deb` file from [archive.ubuntu.com](http://archive.ubuntu.com/) via HTTP. The download is thus vulnerable to Man-in-the-Middle attacks. Furthermore, the `.deb` file is then installed without signatures being validated. This allows an attacker who either interferes with the download through MitM or compromised an Ubuntu server / mirror to run arbitrary code on servers building this image. ### Severity Low - An attacker with MitM capabilities or an attacker who has compromised an Ubuntu mirror can identify CI/CD builds of this image and supply a backdoored `.deb` file, resulting in a compromise of the Docker image. ### Proof of Concept The multiarch-support_2.27-3ubuntu1_amd64.deb file is downloaded from [archive.ubuntu.com](http://archive.ubuntu.com/) via HTTP and is thus vulnerable to MitM. In addition, the .deb file is then installed without verifying a signature for it: https://github.com/ONLYOFFICE/Docker-CommunityServer/blob/c03f03df67ebbd3410a7ab0e4a454d111a1d4ade/Dockerfile#L62 ```bash wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/multiarch-support_2.27-3ubuntu1_amd64.deb && \ apt-get install ./multiarch-support_2.27-3ubuntu1_amd64.deb && \ ``` Running `dpkg-sig` verifies that this `.deb` file is not signed: ```bash dpkg-sig --list multiarch-support_2.27-3ubuntu1_amd64.deb Processing multiarch-support_2.27-3ubuntu1_amd64.deb... ``` ### Further Analysis Use HTTPS to prevent MitM and if possible use a signed version of the multiarch-support package. ### Timeline **Date reported**: 01/20/2025 **Date fixed**: **Date disclosed**: 04/22/2025

Severity from
GitHub (reviewed advisory)

More Google advisories

All Google
Advisory
Python - Tarfile Realpath Overflow Vulnerability
CriticalJun 20, 2025
OpenAI Operator - Locking Operator on FullScreen
MediumJun 12, 2025
OpenAI Operator - Exfiltration of Cross-origin URL
HighMay 28, 2025
Oracle VM VirtualBox - VM escape via VGA device
High8.1May 15, 2025
W3C - CSS Validator XXE
HighMar 28, 2025
PostgreSQL: Privilege Escalation Vulnerability via pg_cron
HighMar 5, 2025

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.