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

exploitDog

github логотип

GHSA-f36p-42jv-8rh2

Опубликовано: 30 сент. 2022
Источник: github
Github: Прошло ревью
CVSS3: 8.1

Описание

Lithium vulnerable to Cross Site Scripting in provided Swagger-UI

Impact

A XSS vulnerability in the provided (outdated) Swagger-UI is exploitable in applications using lithium with Swagger-UI enabled. This allows an attacker gain Remote Code Execution (RCE) and potentially exfiltrate secrets in the context of this swagger session.

Patches

The used swagger-ui was updated by switching to the latest version of dropwizard-swagger in 8b9b406d608fe482ec0e7adf8705834bca92d7df

Workarounds

The risk of injected external content can be reduced by setting up a Content-Security-Policy.

References

Credits

We thank Mohit Kumar for reporting this vulnerability!

Пакеты

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

com.wire:lithium

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

< 3.4.2

3.4.2

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

com.wire.bots:lithium

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

Отсутствует

8.1 High

CVSS3

Дефекты

CWE-79

8.1 High

CVSS3

Дефекты

CWE-79