Remote SSH access bypass via wrong DNS lookup
Published Sep 19, 2022 · Updated May 29, 2025
Authentication bypass in SUSE-patched Linux-PAM before 1.5.2-6.1 allows remote attackers with valid credentials to obtain SSH access. In pam_access.so, the SUSE hostname patch passes the connection string rather than the configured access token to getaddrinfo, so an unresolvable source address bypasses a deny rule. The flaw applies to systems carrying the SUSE-specific patch and configured to enforce SSH restrictions through pam_access; upstream Linux-PAM is unaffected.
Summary
What happened
Authentication bypass in SUSE-patched Linux-PAM before 1.5.2-6.1 allows remote attackers with valid credentials to obtain SSH access. In pam_access.so, the SUSE hostname patch passes the connection string rather than the configured access token to getaddrinfo, so an unresolvable source address bypasses a deny rule. The flaw applies to systems carrying the SUSE-specific patch and configured to enforce SSH restrictions through pam_access; upstream Linux-PAM is unaffected.
The record
- CVE
- CVE-2022-28321
- Published
- Sep 19, 2022
- Updated
- May 29, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-287, T1078
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 19, 2022CVE publishedPublication date reported by the CVE source.
- May 29, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- SUSE SSH access-control bypass reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo