Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Perimeter

8/26/2009
04:04 PM
John H. Sawyer
John H. Sawyer
Commentary
50%
50%

Attacking Customers, Employees With SQL Injection

In the security world, providing "what-if" scenarios can be good, but real-world examples are often required to get people to sit up and listen.

In the security world, providing "what-if" scenarios can be good, but real-world examples are often required to get people to sit up and listen.For example, in my last Tech Insight, "SQL Injection Demystified," I covered some of the dangers of SQL injection and what an attacker could do if he were able to successfully exploit it. Yesterday, one of those examples caught my attention, "Yahoo! Local Hacked: Vulnerable to SQL Injection."

A "grey hat" hacker, Unu, discovered a SQL injection vulnerability in Yahoo! Local Neighbors that allowed him (or her) to do practically anything -- from viewing user information from the database to reading files on the local database server, including the /etc/passwd file. There are screenshots and some more details included in the hacker's blog.

In my Tech Insight article, I touched on several of the exploit capabilities, but as one reader pointed out, it can go much, much deeper as seen with the Heartland attacks. Through SQL injection, attackers were able to gain access to the local database server, pivot to attack other important servers, and install malware with keylogging and network sniffing capabilities. It's an incredibly powerful vector for attack, and one that I've had developers dismiss by saying it's only an error message, and you can't do anything with that.

Even if an attacker can't get enough privileges to start executing code and making changes on the local database server's system, rights to edit content within the database can be just as powerful. Imagine that an attacker starts editing your Web content to include hidden iFrames with an exploit for the latest ActiveX or Flash vulnerability. Or say he uses Browser Rider or BeEF to inject a JavaScript hook to hijack Web browsers of people viewing your site. From there, he just needs to compromise the right credentials, and he's in.

A very good Webcast that covers scenarios like SQL injection being used to hijack Web browsers is the "Invasion of the Browser Snatchers: Part I," featuring Ed Skoudis and Kevin Johnson of InGuardians. The Webcast is about an hour long. Ed and Kevin both do a very good job of explaining how SQL injection attacks work and just how much evil can be wrought.

John H. Sawyer is a senior security engineer on the IT Security Team at the University of Florida. The views and opinions expressed in this blog are his own and do not represent the views and opinions of the UF IT Security Team or the University of Florida. When John's not fighting flaming, malware-infested machines or performing autopsies on blitzed boxes, he can usually be found hanging with his family, bouncing a baby on one knee and balancing a laptop on the other. Special to Dark Reading.

 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/10/2020
Researcher Finds New Office Macro Attacks for MacOS
Curtis Franklin Jr., Senior Editor at Dark Reading,  8/7/2020
Hacking It as a CISO: Advice for Security Leadership
Kelly Sheridan, Staff Editor, Dark Reading,  8/10/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Changing Face of Threat Intelligence
The Changing Face of Threat Intelligence
This special report takes a look at how enterprises are using threat intelligence, as well as emerging best practices for integrating threat intel into security operations and incident response. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-8720
PUBLISHED: 2020-08-13
Buffer overflow in a subsystem for some Intel(R) Server Boards, Server Systems and Compute Modules before version 1.59 may allow a privileged user to potentially enable denial of service via local access.
CVE-2020-12300
PUBLISHED: 2020-08-13
Uninitialized pointer in BIOS firmware for Intel(R) Server Board Families S2600CW, S2600KP, S2600TP, and S2600WT may allow a privileged user to potentially enable escalation of privilege via local access.
CVE-2020-12301
PUBLISHED: 2020-08-13
Improper initialization in BIOS firmware for Intel(R) Server Board Families S2600ST, S2600BP and S2600WF may allow a privileged user to potentially enable escalation of privilege via local access.
CVE-2020-7307
PUBLISHED: 2020-08-13
Unprotected Storage of Credentials vulnerability in McAfee Data Loss Prevention (DLP) for Mac prior to 11.5.2 allows local users to gain access to the RiskDB username and password via unprotected log files containing plain text credentials.
CVE-2020-8679
PUBLISHED: 2020-08-13
Out-of-bounds write in Kernel Mode Driver for some Intel(R) Graphics Drivers before version 26.20.100.7755 may allow an authenticated user to potentially enable denial of service via local access.