[REVS] SQL Injection Attacks by Example
From: SecuriTeam (support_at_securiteam.com)
Date: 01/25/05
- Previous message: SecuriTeam: "[EXPL] Multiple Vulnerabilities in Konversation (Exploit)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 25 Jan 2005 19:00:10 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
SQL Injection Attacks by Example
------------------------------------------------------------------------
SUMMARY
SQL Injection is caused by unverified/unsanitized user input, and its main
idea is to convince the application to run SQL code that it was not
intended to run.
If the application is creating SQL strings naively, i.e. on the fly, and
then running them, it's straightforward to create some real surprises.
There have been other papers on SQL injection, including some that are
much more detailed, but this one shows the rationale of discovery as much
as the process of exploitation.
DETAILS
Introduction:
A customer asked that Steve Friedl check out his intranet site, which was
used by the company's employees and customers. This was part of a larger
security review, and though Steve Friedl had not actually used SQL
injection to penetrate a network before, Steve Friedl was pretty familiar
with the general concepts. Steve Friedl was completely successful in this
engagement, and wanted to recount the steps taken as an illustration.
ADDITIONAL INFORMATION
The information has been provided by <mailto:steve@unixwiz.net> Steve
Friedl.
The original article can be found at:
<http://www.unixwiz.net/techtips/sql-injection.html>
http://www.unixwiz.net/techtips/sql-injection.html
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[EXPL] Multiple Vulnerabilities in Konversation (Exploit)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- [REVS] Lateral SQL Injection: a New Class of Vulnerability in Oracle
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Lateral SQL Injection:
a New Class of Vulnerability in Oracle ... How can an attacker exploit a PL/SQL procedure
that doesn't even take user ... is then dynamically executed via the EXECUTE IMMEDIATE statement.
... (Securiteam) - [UNIX] Multiple Vulnerabilities MetaDot Portal Server
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... SQL Injection: ...
query he can cause an error message to execute script into an unsuspecting ... users browser
thus causing a Cross Site Scripting attack. ... (Securiteam) - [UNIX] Phorum SQL Injection (userlogin.php)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... An SQL injection vulnerability
exists in the 'userlogin.php' script. ... the MD5 hash of the user one character at a time.
... (Securiteam) - [UNIX] Joomla BSQ Sitestats Component Multiple Vulnerabilities
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Secunia Research has discovered
some vulnerabilities in the BSQ ... SQL query. ... Successful exploitation
requires that "register_globals" is enabled. ... (Securiteam) - [NT] MetaCart e-Shop Multiple Vulnerabilities
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Vulnerable code
in productsByCategory.asp: ... SQL Injection ... (Securiteam)