Back

MEDIUM

openssh: forced command option information disclosure

Published Jan 27, 2012

Description

The auth_parse_options function in auth-options.c in sshd in OpenSSH before 5.7 provides debug messages containing authorized_keys command options, which allows remote authenticated users to obtain potentially sensitive information by reading these messages, as demonstrated by the shared user account required by Gitolite. NOTE: this can cross privilege boundaries because a user account may intentionally have no shell or filesystem access, and therefore may have no supported way to read an authorized_keys file in its own home directory.

Affected products

Remediation

Red Hat statement

This issue did not affect the versions of openssh as shipped with Red Hat Enterprise Linux 4 and 5. On Red Hat Enterprise Linux 6, configured forced commands are returned in the debugging output for the key that is used when logging in.

Metrics

Weaknesses (2)

References (15)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Jan 27, 2012
Updated May 22, 2026
Reserved Jan 19, 2012
CISA Vulnrichment
Updated May 22, 2026
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Low
Public date Jan 26, 2012