Bug #48511 | Possible SQL injection in MYSQL v5.1.40 - community server | ||
---|---|---|---|
Submitted: | 3 Nov 2009 18:16 | Modified: | 3 Nov 2009 18:55 |
Reporter: | sdfsdf sdfsdfsd | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S2 (Serious) |
Version: | 5.0.88, 5.1.40, 5.1.41-bzr | OS: | Any (XP Profession SP2 English) |
Assigned to: | Marc ALFF | CPU Architecture: | Any |
Tags: | 5.1.40, sql injection, stored procedure |
[3 Nov 2009 18:16]
sdfsdf sdfsdfsd
[3 Nov 2009 18:55]
Marc ALFF
This is not a bug. Because the delimiter is ';', the following client request: call aaa(3;delete from adminlog;); is a multi statement request that consist of 3 independent statements: call aaa(3; delete from adminlog; ); The first statement is broken and causes the first syntax error. The second statement is valid and is executed The third statement is broken and causes the second syntax error. The server works as expected.