Security Advisory WSO2-2021-1459

Published: May 09, 2022

Version: 1.0.0

Severity: Medium

CVSS Score: 6.8 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N)


AFFECTED PRODUCTS

  • WSO2 API Manager : 3.0.0 , 3.1.0 , 3.2.0 , 4.0.0
  • WSO2 IS as Key Manager : 5.9.0 , 5.10.0
  • WSO2 Identity Server : 5.9.0 , 5.10.0 , 5.11.0

OVERVIEW

Improper authentication in the TOTP Rest API.

DESCRIPTION

TOTP API can be accessed using the user username and the password of a user, due to the improper authentication in the TOTP Rest API.

IMPACT

This vulnerability only impacts authentication flows where TOTP authenticator is used. Additionally, in order to leverage this vulnerability a malicious actor should have the valid username and password of the targeted victim. If such information could be obtained, a malicious actor can invoke the TOTP endpoint using the username and password of the victim. Doing so, the malicious actor could get the TOTP code which can be used to bypass the TOTP authentication.

SOLUTION

If the latest version of the affected WSO2 product is not mentioned under the affected product list, you may migrate to the latest version to receive security fixes.

Otherwise, you may apply the relevant fixes to the product based on the public fix(s):

Info

If you are a WSO2 customer with a support subscription, use WSO2 Updates in order to apply the fix.