Skip to content
OpenAdvisories
Medium · 5.0 Public exploit CVE-2023-35887 EUVD-2023-2101GHSA-mjmq-gwgm-5qhm

Apache MINA SSHD: Information disclosure bugs with RootedFilesystem

Published Jul 10, 2023 · Updated Oct 7, 2024 · Assigned by apache

Description

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Software Foundation Apache MINA.

In SFTP servers implemented using Apache MINA SSHD that use a RootedFileSystem, logged users may be able to discover "exists/does not exist" information about items outside the rooted tree via paths including parent navigation ("..") beyond the root, or involving symlinks.

This issue affects Apache MINA: from 1.0 before 2.10. Users are recommended to upgrade to 2.10

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache MINA SSHD 1.0 – < 2.10 2.10

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat JBoss EAP 8 eap8-apache-sshd 2.12.0-1.redhat_00001.1.el8eap RHSA-2024:1193, RHSA-2024:1192
Red Hat JBoss EAP 8 eap8-eclipse-jgit 6.6.1.202309021850-1.r_redhat_00001.1.el8eap RHSA-2024:1193, RHSA-2024:1192
Red Hat JBoss EAP 8 eap8-log4j 2.19.0-2.redhat_00001.1.el8eap RHSA-2024:1193, RHSA-2024:1192
Red Hat JBoss EAP 8 eap8-lucene-core +6 8.11.2-2.redhat_00001.1.el8eap RHSA-2024:1193, RHSA-2024:1192
Red Hat JBoss EAP 8 eap8-parsson 1.1.5-1.redhat_00001.1.el8eap RHSA-2024:1193, RHSA-2024:1192
Red Hat JBoss EAP 8 eap8-wildfly +3 8.0.1-3.GA_redhat_00002.1.el8eap RHSA-2024:1193, RHSA-2024:1192
Red Hat JBoss EAP 7 eap7-activemq-artemis +15 2.16.0-17.redhat_00051.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-apache-sshd 2.9.3-1.redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-avro 1.11.3-1.redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-guava +1 32.1.1-2.jre_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-hal-console 3.3.20-1.Final_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-hibernate +4 5.3.32-1.Final_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-infinispan +9 11.0.18-1.Final_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-jandex 2.4.4-1.Final_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-jboss-jsp-api_2.3_spec 2.0.1-1.Final_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-jboss-marshalling +1 2.0.14-1.SP1_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-jboss-server-migration +2 1.10.0-33.Final_redhat_00032.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-jboss-xnio-base 3.8.11-1.SP1_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-jbossws-cxf 5.4.9-1.Final_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-jgroups 4.2.23-1.Final_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-undertow 2.2.28-1.SP1_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-weld-ejb +6 3.1.10-2.Final_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-wildfly +4 7.4.14-5.GA_redhat_00002.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-wildfly-java-jdk17 7.4.14-5.GA_redhat_00002.1.el8eap RHSA-2023:7639, RHSA-2023:7638
Red Hat JBoss EAP 7 eap7-wildfly-transaction-client 1.1.16-1.Final_redhat_00001.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637
Red Hat JBoss EAP 7 eap7-yasson 1.0.11-4.redhat_00002.1.el7eap RHSA-2023:7639, RHSA-2023:7638, RHSA-2023:7637

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling sonarqube No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.sshd:sshd-common >= 2.1.0, < 2.9.3 2.9.3 GHSA-mjmq-gwgm-5qhm
Maven org.apache.sshd:sshd-core >= 1.0.0, < 2.1.0 2.1.0 GHSA-mjmq-gwgm-5qhm
Maven org.apache.sshd:sshd-sftp >= 1.0.0, < 2.9.3 2.9.3 GHSA-mjmq-gwgm-5qhm

Advisories 11

References