bookmark

Suspekt… » Blog Archive » MySQL and SQL Column Truncation Vulnerabilities


Description

If the attacker however tries the username ‘admin x’ the application will search for it in the database and will not find it, because it is impossible to find a username with a length of 17 in a database field that has a 16 character limit. The application will accept the new username and insert it into the database. However the username column is to short for the full name and therefore it is truncated and ‘admin ‘ is inserted into the database.

Preview

Tags

Users

  • @brightbyte

Comments and Reviews