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

exploitDog

github логотип

GHSA-265r-pp83-gww7

Опубликовано: 24 мая 2022
Источник: github
Github: Прошло ревью

Описание

Cross-site Scripting in Apache Struts

When the Struts2 debug mode is turned on, under certain conditions an arbitrary script may be executed in the 'Problem Report' screen. Also if JSP files are exposed to be accessed directly it's possible to execute an arbitrary script.

It is generally not advisable to have debug mode switched on outside of the development environment. Debug mode should always be turned off in production setup. Also never expose JSPs files directly and hide them inside WEB-INF folder or define dedicated security constraints to block access to raw JSP files.

Struts >= 2.3.20 is not vulnerable to this attack. We recommend upgrading to Struts 2.3.20 or higher if turning off debug mode is not possible.

Пакеты

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

org.apache.struts:struts2-core

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

< 2.3.20

2.3.20

EPSS

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

Дефекты

CWE-79

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

CVSS3: 6.1
ubuntu
почти 6 лет назад

Apache Struts before 2.3.20 has a cross-site scripting (XSS) vulnerability.

redhat
больше 10 лет назад

Apache Struts before 2.3.20 has a cross-site scripting (XSS) vulnerability.

CVSS3: 6.1
nvd
почти 6 лет назад

Apache Struts before 2.3.20 has a cross-site scripting (XSS) vulnerability.

CVSS3: 6.1
debian
почти 6 лет назад

Apache Struts before 2.3.20 has a cross-site scripting (XSS) vulnerabi ...

CVSS3: 6.1
fstec
больше 10 лет назад

Уязвимость реализации режима отладки devMode программной платформы Apache Struts, позволяющая нарушителю проводить межсайтовые сценарные атаки

EPSS

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

Дефекты

CWE-79