CVE-2023-35887: Apache MINA SSHD: Information disclosure bugs with RootedFilesystem

Published Jul 10, 2023
·
Updated

Apache MINA SSHD could allow a remote authenticated attacker to obtain sensitive information, caused by improper authorization validation by the RootedFilesystem. By sending a specially crafted request, an attacker could exploit this vulnerability to obtain information about items outside the rooted tree, and use this information to launch further attacks against the affected system.

Other sources

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

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.9.3 Users are recommended to upgrade to 2.9.3

Until version 2.1.0, some of the code affected by this vulnerability appeared in org.apache.sshd:sshd-core. Version 2.1.0 contains a commit where the code was moved to the package org.apache.sshd:sshd-common, which did not exist until version 2.1.0.

Affected Software

9 affected componentsFixes available
Apache MINA>=1.0.0<2.10.0
maven/org.apache.sshd:sshd-sftp>=1.0.0<2.9.3
2.9.3
maven/org.apache.sshd:sshd-common>=2.1.0<2.9.3
2.9.3
maven/org.apache.sshd:sshd-core>=1.0.0<2.1.0
2.1.0
IBM Cloud Pak for Business Automation<=V23.0.1 - V23.0.1-IF002
IBM Cloud Pak for Business Automation<=V21.0.3 - V21.0.3-IF024
IBM Cloud Pak for Business Automation<=V22.0.2 - V22.0.2-IF006 and later fixesV22.0.1 - V22.0.1-IF006 and later fixesV21.0.2 - V21.0.2-IF012 and later fixesV21.0.1 - V21.0.1-IF007 and later fixesV20.0.1 - V20.0.3 and later fixesV19.0.1 - V19.0.3 and later fixesV18.0.0 - V18.0.2 and later fixes
Apache sshd>=1.0.0<2.9.3
redhat/apache-mina<2.10
2.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.sshd:sshd-sftp to a version that resolves this vulnerability.

    Fixed in 2.9.3
  2. Upgrade

    Upgrade maven/org.apache.sshd:sshd-common to a version that resolves this vulnerability.

    Fixed in 2.9.3
  3. Upgrade

    Upgrade maven/org.apache.sshd:sshd-core to a version that resolves this vulnerability.

    Fixed in 2.1.0
  4. Upgrade

    Upgrade redhat/apache-mina to a version that resolves this vulnerability.

    Fixed in 2.10
  5. Upgrade

    Upgrade org.apache.mina:mina-sshd to a version that resolves this vulnerability.

    Fixed in 2.9.3
  6. Upgrade

    Upgrade org.apache.mina:mina-sshd to a version that resolves this vulnerability.

    Fixed in 2.10

Event History

Jul 10, 2023
CVE Published
via MITRE·09:28 AM
Data Sourced
via MITRE·09:28 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
06:30 PM
Sep 21, 2023
Data Sourced
via Red Hat·12:57 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-35887?

CVE-2023-35887 is a vulnerability known as Exposure of Sensitive Information to an Unauthorized Actor in Apache MINA.

2

How does CVE-2023-35887 affect Apache MINA?

CVE-2023-35887 affects Apache MINA by allowing logged users to discover "exists/does not exist" information about items outside the rooted file system in SFTP servers implemented using Apache MINA SSHD that use a RootedFileSystem.

3

What is the severity of CVE-2023-35887?

CVE-2023-35887 has a medium severity rating.

4

What software is affected by CVE-2023-35887?

Apache MINA versions 1.0.0 to 2.10.0, as well as specific versions of the packages org.apache.sshd:sshd-core, org.apache.sshd:sshd-common, and org.apache.sshd:sshd-sftp are affected by CVE-2023-35887.

5

How can I mitigate the CVE-2023-35887 vulnerability?

To mitigate the CVE-2023-35887 vulnerability, it is recommended to upgrade to Apache MINA version 2.10.0 or later, and to upgrade the affected packages to their respective remedied versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2023-35887 - Apache MINA SSHD: Information disclosure bugs with RootedFilesystem - SecAlerts