SQL injection when selecting password for the first time.
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| mysql-dfsg (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
| mysql-dfsg-5.0 (Debian) |
New
|
Unknown
|
|||
Bug Description
When i'm installing mysql-server with apt-get install mysql-server , everything is OK until i get a blue screen when I have to set my password.
If i put a password with " then I get this on terminal:
* Stopping MySQL database server mysqld [ OK ]
ERROR: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ziah0") WHERE user='root'' at line 1
080822 14:59:05 [ERROR] Aborting
080822 14:59:05 [Note] /usr/sbin/mysqld: Shutdown complete
Reloading AppArmor profiles : done.
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
Thanks.
| Changed in mysql-dfsg-5.0: | |
| status: | Unknown → New |
| Changed in mysql-dfsg (Ubuntu): | |
| status: | Confirmed → New |
| status: | New → Incomplete |
| status: | Incomplete → Opinion |
| status: | Opinion → Invalid |
| status: | Invalid → Confirmed |
| status: | Confirmed → In Progress |
| status: | In Progress → Fix Committed |
| status: | Fix Committed → Fix Released |

This is confirmed in jaunty. Setting as low importance, as you're already root when this happens.