www.notsosecure.com

From Pentesters To Pentesters

I have finally decided to give twitter a go. :)
Follow me at:
https://twitter.com/notsosecure

Ferruh passed this onto me and this looks like a really interesting vulnerability. Essentially if you can upload a file with semicolon(;) in it, you may be able to upload and execute asp code.

IIS can execute any extension as an Active Server Page or any other executable extension. For instance “malicious.asp;.jpg” is executed as an ASP file on the server. Many file uploaders protect the system by checking only the last section of the filename as its extension. And by using this vulnerability, an attacker can bypass this protection and upload a dangerous executable file on the server.

Original Advisory can be found here

For some reason, i never considered core impact an option for web application assessment. But recently i tested the web application RPT module of core impact and found it quite cool. It successfully exploited the Oracle SQL Injection and returned a SQL shell and much to my surprise a OS command shell.

It did the same against the MS-SQL apps too. A closer look at oracle sql injection exploit revealed that core uses the same dbms_export_extension exploit which bsqlbf and pangolin uses. To obtain the shell with one click in a gui is always cool, less geeky though :( .

core-oracle
On the note of using commercial tools, another 2 tools which i have found very useful are:
Burp suite
Netsparker

While everyone knows about burp suite, its small features such as ‘AMF decoding/encoding’, invisible proxy, intruder with regex support, right click-> send to scanner feature etc makes it a perfect tool. The burp scanner’s xss module is just brilliant.

Netsparker is probably a tool which not too many people have heard of. Its an automated web application Its developed by Ferruh Mavituna, who knows this art very well. The tool has so far, given me minimal false positives and at the same time helped in identifying some complex SQL injections you will ever come across(example deep blind injections involving time delays).

More on commercial tools later..