When sftpEnabled=true (the default configuration in etc/org.apache.karaf.shell.cfg), the SSH server exposes the karaf.base directory tree through the…
When sftpEnabled=true (the default configuration in etc/org.apache.karaf.shell.cfg), the SSH server exposes the karaf.base directory tree through the MINA SSHD SFTP subsystem and SCP command factory without verifying the authenticated user's roles beyond the initial sshRole login check. Consequently, an authenticated user with only low-privileged roles (such as viewer and ssh) can read sensitive configuration and key files (including etc/users.properties and etc/host.key) or write arbitrary bundles/configurations into monitored directories (such as deploy/ or etc/), leading to privilege escalation and arbitrary code execution. Apache Karaf 4.4.13 and 4.5.0 introduce the sftpRole configuratio
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Apache Software Foundation
- Product
- Apache Karaf
- CVSS v3.1
- 8.8 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Exploitation
- SSVC none, automatable no, impact total
- Weakness
- CWE-862
- Exposure class
- Remote access, Web platform
- NVD status
- Received
Why it ranks 40 (Notable)
- CVSS v3.1 8.8 high
- SSVC: total technical impact
- Exposed product class: remote access
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.