SecurityContext

CVE-2024-34713: sshproxy - Command Injection

  • Cve: CVE-2024-34713
  • Name: sshproxy - Command Injection
  • Description: sshproxy is used on a gateway to transparently proxy a user SSH connection on the gateway to an internal host via SSH. Prior to version 1.6.3, any user authorized to connect to a ssh server using `sshproxy` can inject options to the `ssh` command executed by `sshproxy`. All versions of `sshproxy` are impacted. The problem is patched starting in version 1.6.3. The only workaround is to use the `force_command` option in `sshproxy.yaml`, but it's rarely relevant.
  • Impact: Authorized users can inject arbitrary SSH options, potentially leading to command execution or privilege escalation.
  • Remediation: Update to version 1.6.3 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: User must be authorized to connect via sshproxy
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 3.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
  • Epss score: 0.00416
  • Epss percentile: 0.36692
  • Assignee: [email protected]
  • Published at: 2024-05-14T16:17:27Z
  • Age in days: 924
  • Modified at: 2026-06-17T07:33:55Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-34713
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-77Improper Neutralization of Special Elements used in a Command

References

UrlSourceTags
https://github.com/cea-hpc/sshproxy/commit/f7eabd05d5f0f951e160293692327cad9a7d9580nvd
https://github.com/cea-hpc/sshproxy/security/advisories/GHSA-jmqp-37m5-49whnvd

Products

ProductAffectedPlatform boundSourcesUrl
cea-hpc:sshproxy< 1.6.3noadp_cpes/v1/products/cea-hpc/sshproxy

Projects

RepositoryLink kindsIndexedUrl
cea-hpc/sshproxycommit, fix, package, security_advisoryyes/v1/repositories/cea-hpc/sshproxy

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts