github.com/mohammed90/caddy-ssh
Activity
- Latest release
- 3y ago
- Total releases
- 2
- Cadence
- ~1.1 years
- Last 12 months
- 0
Reach
- Stars
- —
Details
- First release
- Mar 28, 2022
| Version | Released | |
|---|---|---|
v0.0.2
patch
|
v0.0.2
patch
Dependencies (14)
+ 6 more |
|
v0.0.1
initial
1 CVE
GHSA-gmhj-xjfh-cf6m
Sep 23, 2022
Caddy-SSH vulnerable to Authorization Bypass due to incorrect usage of PAM library
7.7
/ 10
High
Network
High
High
None
Changed
High
High
None
Not invoking a call to ImpactExploitabilityThe attack can be carried over the network. A complex non-standard configuration or a specialized condition is required for the attack to be successfully conducted. The attacker also requires access to a users credentials, be it expired, for an attack to be successful. There is no user interaction required for successful execution. The attack can affect components outside the scope of the target module. ImpactUsing this attack vector, an attacker may access otherwise restricted parts of the system. The attack can be used to gain access to confidential files like passwords, login credentials and other secrets. Hence, it has a high impact on confidentiality. It may also be directly used to affect a change on a system resource. Hence has a medium to high impact on integrity. This attack may not be used to affect the availability of the system. Taking this account an appropriate CVSS v3.1 vector would be AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N Root Cause AnalysisIn this case, in the following PAM transaction, only a call to https://github.com/mohammed90/caddy-ssh/blob/1d980ceea6e67765daf19b5e644c7a0773fdaa13/internal/authentication/os/pam.go#L60 This implies that a user with expired credentials can still login. The bug can be verified easily by creating a new user account, expiring it with PatchesThis can be fixed by invoking a call to ReferencesAffected versions
0.0.1
References Updated Sep 23, 2022 · Source: OSV.dev |
v0.0.1
initial
Dependencies (11)
+ 3 more |