Wireshark-bugs: [Wireshark-bugs] [Bug 10351] New: MySQL: decoding COM_CHANGE_USER from new clien
Date: Tue, 05 Aug 2014 18:46:08 +0000
Bug ID 10351
Summary MySQL: decoding COM_CHANGE_USER from new clients fails
Classification Unclassified
Product Wireshark
Version Git
Hardware All
OS All
Status UNCONFIRMED
Severity Minor
Priority Low
Component Dissection engine (libwireshark)
Assignee bugzilla-admin@wireshark.org
Reporter wireshark@myname.nl

Created attachment 12963 [details]
sample packets

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Wireshark fails to properly decode COM_CHANGE_USER from newer (5.6+) clients.

This is because:
1. The auth-response is <len><authresponse> if the SECURE_CONNECTION capability
is set (instead of <authresponse><NUL>
2. The packet might have:
 - Connection attributes
 - Authentication plugin data

--- Python code to send a COM_CHANGE_USER packet -------
#!/usr/bin/python
import mysql.connector
a = mysql.connector.connect(user='msandbox',password='msandbox',port=5619)
a.cmd_change_user(username='root',password='msandbox')
---------------------------------------------------------

http://dev.mysql.com/doc/internals/en/com-change-user.html


You are receiving this mail because:
  • You are watching all bug changes.