Havij SQL Injection Filter

Showing results for 
Search instead for 
Did you mean: 

Havij SQL Injection Filter

Not applicable

There doesn't seem to be a filter for this vulnerability at this time so I am trying to write one.  By default the program uses its name in the agent string;

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) Havij

I am trying to create a vulnerability filter that looks for "Havij" in the agent string, my belief based on what I have read is the filter should read something like pattern-match http-req-headers, where I am stuck though is the value, since it has to be at least 7 bytes, is there a way to pad "Havij" so it meets the requirement?  Or am I going about this wrong.



Accepted Solutions

Have you tried this:

\)\ Havij

View solution in original post


L0 Member

In this case you don't have to create a Custom Vulnerability Signature but a Custom Application Signature, in the way you have told and creating a security policy with the deny action for that application.

You have to use "http-req-headers" and insert "Havij" as pattern match. This should works.

Same error, "must be at least 7 bytes".  I am running 3.1 if that helps.


if you do not have a 7 byte anchor for your data pattern then you will get that error.

In your case your data pattern is not long enough. Can you pad the pattern with additional characters?

The string I posted above is what is passed, is there an easy way to use that to create the match string included in it the padding I need/

Have you tried this:

\)\ Havij

L0 Member

application useful word unscrambler

L0 Member

Cuco Tv APK is available on all platforms including Apple, Android, PC, Mackbook, and Smart TV

L0 Member

Movie Hd is available on all platforms, including Apple, Android, PC, Macbook և Smart TV

BeeTV Apk

MegaBox Hd

L0 Member

Krnl is one of Roblox's most popular products, used by thousands of players to exploit game bugs and hack scripts. If you're unfamiliar with Roblox, it's a game store that lets you play games created by other users and developers around the world.

The Roblox game engine lets users choose to play thousands of games without difficulty. However, some matches are difficult to watch. Therefore, some users have come up with a way to overcome these barriers and improve their gaming experience. To do this, they use the Krnl script key system In this blog, we talk about using Krnl, how to use it; What to do if you have a problem.


Krnl Download

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!