microsoft / restler-fuzzer

RESTler is the first stateful REST API fuzzing tool for automatically testing cloud services through their REST APIs and finding security and reliability bugs in these services.
MIT License
2.61k stars 303 forks source link

Trace database requests include authorization token #881

Closed wilbaker closed 1 month ago

wilbaker commented 8 months ago

Description

When the trace database is enabled, authorization tokens included in requests are being logged in plain text. They should be replaced with _OMITTED_AUTH_TOKEN_ (like the network logs).

Steps to reproduce

  1. Set use_trace_database to true in engine settings
  2. Specify an authentication token module in settings
  3. Run RESTler against service

Expected results

Tokens values are replaced with _OMITTED_AUTH_TOKEN_

Actual results

Token values are logged in plain text.

Environment details

RESTler version 9.2.4