bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2023-51767

7.0high

openssh9.9p2in 4 of 4 releases

Reach openssh · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

OpenSSH through 10.0, when common types of DRAM are used, might allow row hammer attacks (for authentication bypass) because the integer value of authenticated in mm_answer_authpassword does not resist flips of a single bit. NOTE: this is applicable to a certain threat model of attacker-victim co-location in which the attacker has user privileges. NOTE: this is disputed by the Supplier, who states "we do not consider it to be the application's responsibility to defend against platform architectural weaknesses."

Published 2023-12-24NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None

What it costs

Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References 35
Review Av26.10.0x86_64Exposed by default✓ accepted by a member, 2026-11-18 · settles 8 of 8

Fable 5.1 · high confidence · 2026-11-17

The code the CVE describes is present unchanged in this build: output/build/openssh-9.9p2/monitor.c:907-938 (mm_answer_authpassword) still uses a plain int authenticated whose value decides the monitor's password-auth result, and auth-passwd.c returns plain 0/1. None of the 18 patches in .applied_patches_list touch this function (patch 0017 edits auth2*.c for CVE-2026-60001 only), and upstream has not shipped a fix: the CVE is disputed by OpenSSH and NVD's range "through 10.0" covers 9.9p2, so the version match is correct.

The server is built (BR2_PACKAGE_OPENSSH_SERVER=y, output/.config:3431) with PAM and sandbox, and password authentication is on by default (servconf.c:385-388, sshd_config.d/auth.conf sets UsePAM yes without disabling it). On a factory-default device sshd is running: src/confd/share/factory.d/10-infix-services.json:8-20 enables infix-services:ssh listening on 0.0.0.0:22 and [::]:22, and src/confd/src/services.c:663-686 (ssh_change) calls finit_enable("sshd") for the unit in package/skeleton-init-finit/skeleton/etc/finit.d/available/sshd.conf. The factory admin user has a password (10-system.json:8), so the mm_answer_authpassword path is exercised by every network password login.

Reachability is therefore case (a). Note however the CVE's threat model: the attacker needs an unprivileged local process on the same DRAM to run a Rowhammer attack against the sshd monitor process, plus hammerable DRAM; it is not remotely triggerable on its own, and the supplier declines to fix it as a platform weakness.

Evidence 12
  1. mm_answer_authpassword uses a plain `int authenticated` and returns it to terminate the monitor loop; the described vulnerable code is present unchanged

    output/build/openssh-9.9p2/monitor.c:907-938

  2. auth_password returns plain 0/1 results that feed the flag

    output/build/openssh-9.9p2/auth-passwd.c:87-128

  3. 18 patches applied (DisableForwarding fix, CVE-2025-61984/61985, CVE-2026-353xx/599xx/6000x); none modify mm_answer_authpassword

    output/build/openssh-9.9p2/.applied_patches_list

  4. the only patch touching an `authenticated` variable edits auth2 userauth paths, not the monitor password answer

    buildroot/package/openssh/0017-CVE-2026-60001.patch:50-119

  5. openssh client, server, key utils and sandbox are selected for the target; configs/x86_64_defconfig:93 selects BR2_PACKAGE_OPENSSH

    output/.config:3429-3433

  6. configured with --with-pam --with-sandbox --without-audit; sshd built with password/PAM authentication

    output/build/openssh-9.9p2/config.log:7

  7. PasswordAuthentication and KbdInteractiveAuthentication default to yes

    output/build/openssh-9.9p2/servconf.c:385-388

  8. Infix overlay sets `UsePAM yes` and does not disable password authentication

    board/common/rootfs/etc/ssh/sshd_config.d/auth.conf

  9. factory config sets infix-services:ssh enabled=true listening on 0.0.0.0:22 and [::]:22

    src/confd/share/factory.d/10-infix-services.json:8-20

  10. ssh_change enables and reloads the finit `sshd` service when infix-services:ssh/enabled is true

    src/confd/src/services.c:663-686

  11. finit service unit running /usr/sbin/sshd -D in runlevels 2-5

    package/skeleton-init-finit/skeleton/etc/finit.d/available/sshd.conf

  12. factory admin user has a password, so password login via the affected monitor path is used by default

    src/confd/share/factory.d/10-system.json:4-8

Version and patches

NVD range: OpenSSH through 10.0 (no fixed version; disputed by upstream, no upstream fix commit exists). 9.9p2 is within range and the CPE mapping is correct. Applied patches (0001-0018 in buildroot/package/openssh/) address DisableForwarding, CVE-2025-61984/61985, CVE-2026-35385/35386/35387/35388/35414, CVE-2026-59995/59996/59997/59999/60000/60001/60002; none hardens the authenticated flag in mm_answer_authpassword.

Recommendation

No code fix is available: upstream OpenSSH disputes the CVE and no release (including 10.0) changes mm_answer_authpassword, so upgrading does not resolve it. Document the finding as accepted/disputed: exploitation requires an attacker with local unprivileged code execution on the device and Rowhammer-susceptible DRAM, which is outside the product's remote threat model.

If a risk-reduction note is wanted, point to the existing mitigations already in the image: key-based AuthorizedKeysFile /var/run/sshd/%u.keys login managed by confd, and the operator's ability to restrict infix-services:ssh listen addresses or disable it (infix-services:ssh/enabled). ECC memory on the target hardware is the actual mitigation.

Open questions

Whether the target hardware ships with ECC or Rowhammer-mitigated DRAM cannot be determined from the tree. Whether non-admin Infix users can obtain an unprivileged local shell (needed for the attacker-victim co-location threat model) was not reviewed in depth; the CLI does appear to offer shell access to admin users.

Members of Kernel Kit decide. Sign in if you are one.