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...
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| OnlyOffice Community Server docker image Product | all versions | No 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| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jun 202025 | Python - Tarfile Realpath Overflow Vulnerability | Critical | No fix yet |
| Jun 122025 | OpenAI Operator - Locking Operator on FullScreen | Medium | No fix yet |
| May 282025 | OpenAI Operator - Exfiltration of Cross-origin URL | High | No fix yet |
| May 152025 | Oracle VM VirtualBox - VM escape via VGA device | High8.1 | No fix yet |
| Mar 282025 | W3C - CSS Validator XXE | High | See the advisory |
| Mar 52025 | PostgreSQL: Privilege Escalation Vulnerability via pg_cron | High | 1.6.5 |