Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-27r7-3m9x-r533

Опубликовано: 26 авг. 2025
Источник: github
Github: Прошло ревью
CVSS3: 5.9

Описание

traQ Allows Insertion of Sensitive Information into Log File

Impact

A vulnerability exists where sensitive information, such as OAuth tokens, is recorded in log files when an error occurs during the execution of an SQL query. An attacker could intentionally trigger an SQL error by methods such as placing a high load on the database. This could allow an attacker who has the authority to view the log files to illicitly acquire the recorded sensitive information.

Patch

This vulnerability was temporarily fixed by #2787 and will be completely resolved by #2788.

This issue may have caused OAuth tokens to be leaked to users who can view logs on traQ instances using versions prior to v3.25.0.

While it is possible that OAuth tokens for both human users and Bots were leaked, revoking Bot access tokens is not recommended as it may cause errors. This issue will be resolved in a future update.

Currently, the recommended mitigation is to invalidate the OAuth tokens of human users only. To apply this measure, please execute the following SQL statement directly:

UPDATE oauth2_tokens SET deleted_at = NOW() WHERE deleted_at IS NULL AND scopes != "bot"

Workaround

If you cannot apply the update immediately, as a temporary workaround, please review access permissions for SQL error logs and strictly limit access to prevent unauthorized users from viewing them.

Пакеты

Наименование

github.com/traPtitech/traQ

go
Затронутые версииВерсия исправления

< 3.25.0

3.25.0

EPSS

Процентиль: 17%
0.00056
Низкий

5.9 Medium

CVSS3

Дефекты

CWE-532

Связанные уязвимости

CVSS3: 5.9
nvd
3 месяца назад

traQ is a messenger application built for Digital Creators Club traP. Prior to version 3.25.0, a vulnerability exists where sensitive information, such as OAuth tokens, are recorded in log files when an error occurs during the execution of an SQL query. An attacker could intentionally trigger an SQL error by methods such as placing a high load on the database. This could allow an attacker who has the authority to view the log files to illicitly acquire the recorded sensitive information. This vulnerability has been patched in version 3.25.0. If upgrading is not possible, a temporary workaround involves reviewing access permissions for SQL error logs and strictly limiting access to prevent unauthorized users from viewing them.

EPSS

Процентиль: 17%
0.00056
Низкий

5.9 Medium

CVSS3

Дефекты

CWE-532