RefRef Perl-based Denial of Service Attack

Notification Type: IBM Security Protection Alert
Notification Date: September 13, 2011
Notification Version: 1.0
Name: RefRef Perl-based Denial of Service Attack
Public disclosure/
In the wild date:

The BENCHMARK() function may be used in a SQL Injection attack to cause a denial of service.


ISS Coverage

Product Content Version
Proventia Network IDS
Proventia Network IPS
Proventia Network MFS
Proventia Server (Linux)
RealSecure Network
RealSecure Server Sensor
Proventia Desktop
Proventia Server IPS (Windows)
Propagation Techniques ISS Protection Available

remote exploit

13 Sep 2011

* This signature is NOT blocked in the default policy.

Detailed Description

Business Impact:

Successful denial-of-service attacks will cause vulnerable MySQL servers to become unresponsive. MySQL is a common RDBMS used by web applications, which is the vector the RefRef Perl version uses. Note that a vulnerable URL will need to be provided by the attacker; it is not distributed by the tool.

*CVSS Base Score: 2.6
  Access Vector: Network
Access Complexity: High
Authentication: None
Confidentiality Impact: None
Integrity Impact: None
Availability Impact: Partial
Adjusted Temporal Score: 2.5
  Exploitability: Functional
Remediation Level: n/a
Report Confidence: n/a
Affected Products: Any manufacturer Web browser
Technical Description:

The Perl-based proof-of-concept shows that a resource-hogging SQL statement will be appended to a user-specified URL to a SQL injectable path. The resource-hogging SQL statement is using the MySQL-only benchmark() routine. Other RDBMS are not vulnerable to this particular attack.  This IPS signature expands the existing web application protection engine to check for use of this function.

Remediation: No known patch at this time.  X-Force will continue to monitor any changes to the RefRef attack code.



Revision History

1.0 Initial publication.

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at