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

exploitDog

redhat логотип

CVE-2012-6708

Опубликовано: 21 мар. 2017
Источник: redhat
CVSS3: 6.8

Уязвимость межсайтового скриптинга (XSS) в jQuery, связанная с некорректным различением селекторов и HTML

Описание

Обнаружена уязвимость межсайтового скриптинга (XSS) в jQuery. Функция jQuery(strInput) не надёжно различает селекторы и HTML. В уязвимых версиях jQuery определял, является ли входные данные HTML, проверяя наличие символа < в любом месте строки. Это давало злоумышленникам больше гибкости при создании вредоносных нагрузок (payload).

В исправленных версиях jQuery считает входные данные HTML только в том случае, если строка явно начинается с символа <. Это ограничивает возможность эксплуатации только теми злоумышленниками, которые могут контролировать начало строки, что встречается значительно реже.

Затронутые версии ПО

  • jQuery до версии 1.9.0

Тип уязвимости

Межсайтовый скриптинг (XSS)

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
CloudForms Management Engine 5jquery-railsNot affected
Red Hat 3scale API Management Platform 2jqueryFix deferred
Red Hat Enterprise Linux 6ipaNot affected
Red Hat Enterprise Linux 6pcpWill not fix
Red Hat Enterprise Linux 6python-coverageWill not fix
Red Hat Enterprise Linux 6python-weberrorWill not fix
Red Hat Enterprise Linux 7ipaNot affected
Red Hat Enterprise Linux 7ipsilonNot affected
Red Hat Enterprise Linux 7pcpWill not fix
Red Hat Enterprise Linux 7pki-coreNot affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-79
https://bugzilla.redhat.com/show_bug.cgi?id=1591840js-jquery: XSS via improper selector detection

6.8 Medium

CVSS3

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

CVSS3: 6.1
ubuntu
больше 7 лет назад

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a malicious payload. In fixed versions, jQuery only deems the input to be HTML if it explicitly starts with the '<' character, limiting exploitability only to attackers who can control the beginning of a string, which is far less common.

CVSS3: 6.1
nvd
больше 7 лет назад

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a malicious payload. In fixed versions, jQuery only deems the input to be HTML if it explicitly starts with the '<' character, limiting exploitability only to attackers who can control the beginning of a string, which is far less common.

CVSS3: 6.1
msrc
5 месяцев назад

Описание отсутствует

CVSS3: 6.1
debian
больше 7 лет назад

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attack ...

CVSS3: 6.1
github
почти 5 лет назад

Cross-Site Scripting in jquery

6.8 Medium

CVSS3