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

Havij 1.10 Cross Site Scripting

Havij 1.10 Cross Site Scripting
Posted Jun 18, 2010
Authored by hexon

Havij versions 1.10 and below suffer from cross site scripting and SQL injection vulnerabilities.

tags | exploit, vulnerability, xss, sql injection
SHA-256 | 8884f63ec088af60798135e54cda1c1dadd059b01a17959a7f977f0519c2ed24

Havij 1.10 Cross Site Scripting

Change Mirror Download


# Exploit Title: Havij Persistent XSS (<=v1.10)
# Date: 15/6/2010
# Author: hexon
# Software Link: http://itsecteam.com/files/Havij%201.10.rar
# Version: 1.10 and below
# Tested on: Windows XP Service Pack 2 Professional, Windows 7
# Code : htttp://site.com/file.php?param=[XSS Code]


Havij Persistent XSS (<=v1.10)

By : Hkhexon (hkhexon@gmail.com)


-------------
Vulnerability
-------------

Havij does not do any filtration in Target bar so XSS codes can be executed.
However , you need to find a site that is vulnerable to XSS and SQL
Injection.
The site cannot be vulnerable to just XSS only as Havij will stop working
as it cannot inject it.

Functions Affected:
-Save in Info
-Save Tables in Tables
-Save Data in Tables

------------
Exploitation
------------

Eventhough I said you need to find a site that is vulnerable to XSS and SQL
Injection,
There is also an exception to this.Instead,you can find a site vulnerable to
SQL Injection and use SiXSS to generate your desired XSS code.
You can also put the XSS code after the Vulnerable Parameter.

Of course, before that you would need to find the column count and string
column
and replace the String column with the XSS code.

For your acknowledge , String column is the column number where the data
produces
output at the site.

Example (Type it in Target and click Analyse):

------------
SiXSS Method
------------

http://localhost/sqli.php?sqli=-1337 union select
1,'',3
or you can also remove the quotes in the XSS code, it doesn't matter.
(Assume that Column count = 3 and String column = 2)

Or the simpler one without using SiXSS:
http://localhost/sqli.php?sqli=2

If magic_quotes or addslashes is on, it would make no difference as only the
quotes
are filtered and the code will still execute unless your XSS code has quotes
in it.

NOTE : You cannot use encoding like char() or hex as the html file generated
will not parse it into plain text and execute the code.

After that , you can do either the following:
-Click Save in Info and save the html file.
-Click Save Tables in Tables and save the html file.
-Extract some data by using Get Tables,then Get Columns,then Get Data,and
save the html file by using Save Data.

After html file has been generated, open it and your XSS code will execute.


This may look undangerous since the file is made inside your computer,
but almost all XSS techniques requires the attacker to trick users to go to
a
particular file of the site though. So, anything can happen , its just that
you need to be creative.

-----
Patch
-----

I had already notified the Author of Havij(r3dm0v3).

The reason why I do not have patch for this is that I do not have the
source of Havij so I'll let r3dm0v3 to do it himself.

----------
Queries ??
----------

Please email to hkhexon@gmail.com.



Login or Register to add favorites

File Archive:

November 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close