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.

Vulnerabilities / Threats

2/2/2010
10:43 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Black Hat DC: Researchers Reveal Connection String 'Pollution' Attack

Tool released tests for so-called Connection String Parameter Pollution (CSPP) attack

WASHINGTON, DC -- Black Hat DC 2010 -- A pair of Spanish researchers here today demonstrated a way to hack the connection between a Web application and a database, letting the attacker hijack Web credentials and perform other nefarious activities.

The so-called Connection String Parameter Pollution (CSPP) attack exploits poorly secured dynamic connections between Web apps and databases, namely ones that still use semicolons as separators between data such as the data source, user ID, and password associated with a connection to the database, for instance. "If an attacker pollutes the parametershe will have full control of the connection string and can overwrite anything in it," says Jose Palazon, a researcher with Informatica 64, who along with colleague Chema Alonso demonstrated the CSPP attack.

Palazon and Alonso say CSPP lets an attacker steal hashes and scan ports on a server as well. They also released a tool today called CSPP Scanner that allows organizations to test whether they are vulnerable to this form of attack.

CSPP basically injects or pollutes connection strings between the Web application authenticating a user to the database, for example, by injecting phony parameters into the connection strings using semicolons as separators, which allows the attacker to take over the application and the way it's authenticated, the researchers say.

This type of attack is easy to execute, they say, and thus likely to be exploited.

Among the products the researchers were able to wage CSPP attacks against are ASP.NET Enterprise Manager and myLittleAdmin, which they demonstrated today. Oracle's software is also susceptible to these attacks in Windows and Linux environments, according to the researchers.

The ConnectionStringBuilder feature in Microsoft .NET Framework 2.0 is safe from Connection String Parameter Pollution attacks because you can't inject into its connection string.

"All the application vendors [here] have been notified" about these attacks, Alonso says, and they have issued patches.

So how do you defend against a CSPP attack? "Harden your firewall," Alonso says. "[Ensure] that every outbound connection is the one you want. You don't want your application server making [unauthorized] outbound connections."

Other ways to counter these attacks is to review and harden your internal accounts and policies, including that of your Web application server, Web server, and database. And deploy ConnectionStringBuilder, the researcher say. "And filter the semicolon," Alonso says.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message. Kelly Jackson Higgins is the Executive Editor of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
A Realistic Threat Model for the Masses
Lysa Myers, Security Researcher, ESET,  10/9/2019
USB Drive Security Still Lags
Dark Reading Staff 10/9/2019
Virginia a Hot Spot For Cybersecurity Jobs
Jai Vijayan, Contributing Writer,  10/9/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
7 Threats & Disruptive Forces Changing the Face of Cybersecurity
This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
Flash Poll
2019 Online Malware and Threats
2019 Online Malware and Threats
As cyberattacks become more frequent and more sophisticated, enterprise security teams are under unprecedented pressure to respond. Is your organization ready?
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-17612
PUBLISHED: 2019-10-15
An issue was discovered in 74CMS v5.2.8. There is a SQL Injection generated by the _list method in the Common/Controller/BackendController.class.php file via the index.php?m=Admin&c=Ad&a=category sort parameter.
CVE-2019-17613
PUBLISHED: 2019-10-15
qibosoft 7 allows remote code execution because do/jf.php makes eval calls. The attacker can use the Point Introduction Management feature to supply PHP code to be evaluated. Alternatively, the attacker can access admin/index.php?lfj=jfadmin&action=addjf via CSRF, as demonstrated by a payload in...
CVE-2019-17395
PUBLISHED: 2019-10-15
In the Rapid Gator application 0.7.1 for Android, the username and password are stored in the log during authentication, and may be available to attackers via logcat.
CVE-2019-17602
PUBLISHED: 2019-10-15
An issue was discovered in Zoho ManageEngine OpManager before 12.4 build 124089. The OPMDeviceDetailsServlet servlet is prone to SQL injection. Depending on the configuration, this vulnerability could be exploited unauthenticated or authenticated.
CVE-2019-17394
PUBLISHED: 2019-10-15
In the Seesaw Parent and Family application 6.2.5 for Android, the username and password are stored in the log during authentication, and may be available to attackers via logcat.