GitHub

Summary

This is a CRITICAL vulnerability that allows an unauthenticated remote attacker to inject arbitrary SQL into the Metabase application database, which can give them administrator access to the instance. From there, the attacker could change the application configuration, steal stored credentials for the connected databases, read any data accessible through those connections, and export data. Metabase has confirmed active exploitation of this vulnerability. Please upgrade your Metabase instance ASAP.

Remediation

Upgrade to a patch corresponding to your Metabase major version as soon as possible. If you are unable to upgrade ASAP, as a temporary workaround, block the /api/session/reset_password endpoint.

If the /api/session/reset_password endpoint of your Metabase instance is publicly accessible, then please do the following after you upgrade:

  1. Revoke all active user sessions by accessing the Metabase application database and deleting all rows in core_session table
  2. Review your API keys and delete any unrecognized keys.
  3. Review administrator accounts for any unexpected changes.
  4. Rotate credentials for any of the connected databases.
  5. Review data warehouse logs for any sign of unauthorized access.
  6. Review Metabase activity and query history for unexpected or unauthorized activity.

Versions with the fix

v63.5

OSS: jar | docker
EE: jar | docker

v62.9

OSS: jar·docker
EE: jar·docker

v61.11

OSS: jar | docker
EE: jar | docker

v60.17

OSS: jar | docker
EE: jar | docker

v59.21

OSS: jar | docker
EE: jar | docker

v58.24

OSS: jar | docker
EE: jar | docker

Read the original on github.com ↗