Juniper Networks
Solutions
Products & Services
Company
Partners
Support
Education

Signature Detail

Security Intelligence Center
Signatures
Print

Short Name

DB:MYSQL:AUTH-BYPASS

Severity

Low

Recommended

No

Category

DB

Keywords

MySQL Authentication Bypass

Release Date

2005/08/05

Update Number

1213

Supported Platforms

idp-4.0+, isg-3.0+, j-series-9.5+, mx-9.4+, srx-9.2+, srx-branch-9.4+, vsrx-12.1+

DB: MySQL Authentication Bypass


This signature detects attempts to exploit a known vulnerability in the MySql Database. A sucessful attack can allow the authentication mechanism to be bypassed.

Extended Description

A vulnerability exists in the password verification scheme utilized by MySQL. This vulnerability will allow any user on a machine that has been granted access to connect to the database to connect as any user to that database. Instead of having to know an account name and password, the attacker need only know a legitimate account name. Versions from 3.22.26a and above are all vulnerable. Prior versions may too be vulnerable; this has not been confirmed. The flaw lies in the fact that the server uses a string returned by the client to iterate through a comparison, without verifying the string it is using is of sufficient length. while (*scrambled) { if (*scrambled++ != (char) (*to++ ^ extra)) return 1; /* Wrong password */ } scrambled is a string returned by the client. If a user returns a single character as the value for the scrambled variable, only one byte will be compared to the expected password. So long as this one character matches, MySQL will authenticate the user, and allow them to access the database. According to details provided by the poster of this vulnerability, this will take at most 32 tries.

Affected Products

  • MySQL AB MySQL 3.22.26
  • MySQL AB MySQL 3.22.27
  • MySQL AB MySQL 3.22.29
  • MySQL AB MySQL 3.22.30
  • MySQL AB MySQL 3.23.10
  • MySQL AB MySQL 3.23.8
  • MySQL AB MySQL 3.23.9

References

  • BugTraq: 975
  • CVE: CVE-2000-0148

Site Map
RSS Feeds
Careers
Accessibility
Feedback
Privacy Policy
Legal Notices
Copyright © 1999-2010 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out