6.5 Medium
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
7 High
AI Score
Confidence
High
0.0004 Low
EPSS
Percentile
15.6%
github.com/greenpau/go-authcrunch is vulnerable to Insecure Randomness. The vulnerability is caused due to using math/rand
Golang library with a seed based on the Unix timestamp to generate strings for three security-critical contexts in the application. Attackers could use the potentially predictable nonce value used for authentication purposes in the OAuth flow to conduct OAuth replay attacks and also exploit insecure randomness used while generating multifactor authentication (MFA) secrets and creating API keys in the database package.
CPE | Name | Operator | Version |
---|---|---|---|
github.com/greenpau/go-authcrunch | le | v1.0.41 | |
github.com/greenpau/go-authcrunch | le | v1.0.41 |
blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/
github.com/greenpau/caddy-security/issues/265
github.com/greenpau/go-authcrunch/blob/a6e434247876ad0b01940ac2947f17ca32a714bf/pkg/authn/handle_http_login.go#L193-L193
github.com/greenpau/go-authcrunch/blob/a6e434247876ad0b01940ac2947f17ca32a714bf/pkg/idp/oauth/authenticate.go#L204-L204
github.com/greenpau/go-authcrunch/commit/ecd3725baf2683eb1519bb3c81ae41085fbf7dc2
6.5 Medium
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
7 High
AI Score
Confidence
High
0.0004 Low
EPSS
Percentile
15.6%