Lucene search

K
githubGitHub Advisory DatabaseGHSA-7MQR-2V3Q-V2WM
HistoryMay 24, 2021 - 4:57 p.m.

Ory fosite contains Improper Handling of Exceptional Conditions

2021-05-2416:57:39
CWE-754
CWE-755
GitHub Advisory Database
github.com
38
tokenrevocationhandler
errors
storage
unexpected 200 status codes
revocation
attacker
trigger errors
rfc 7009
503 http code
server
problem
software

CVSS2

4

Attack Vector

NETWORK

Attack Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:H/Au:N/C:P/I:P/A:N

CVSS3

8

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

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

EPSS

0.002

Percentile

52.5%

Impact

The TokenRevocationHandler ignores errors coming from the storage. This can lead to unexpected 200 status codes indicating successful revocation while the token is still valid. Whether an attacker can use this for her advantage depends on the ability to trigger errors in the store.

References

RFC 7009 states that a 503 HTTP code must be returned when the server has a problem.

Affected configurations

Vulners
Node
oryfositeRange<0.34.0
VendorProductVersionCPE
oryfosite*cpe:2.3:a:ory:fosite:*:*:*:*:*:*:*:*

CVSS2

4

Attack Vector

NETWORK

Attack Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:H/Au:N/C:P/I:P/A:N

CVSS3

8

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

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

EPSS

0.002

Percentile

52.5%

Related for GHSA-7MQR-2V3Q-V2WM