View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06202 | Bug reports | Authentication | public | 2012-06-12 10:54 | 2012-06-20 14:14 |
Reporter | DenisChenu | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.92+ | ||||
Fixed in Version | 2.00RC3 | ||||
Summary | 06202: SQL error with failed_login_attempts with IPv6 | ||||
Description | With a IPv6 server and client Try to connect with a false user/pass : | ||||
Steps To Reproduce | Try to connect in a ipV6 server with a ipv6 ready client | ||||
Additional Information | Solution:
| ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 120608 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant | ||||
Database type & version | Mysql 5 | ||||
Server OS (if known) | debian/linux | ||||
Webserver software & version (if known) | apache | ||||
PHP Version | PHP Version 5.3 | ||||
Wouldn't it work fine if we just extend the column length at DB? Are there any other (syntax?) checks invovlved which have to be adapted for IPv6? |
|
It's fine with just a DB changing, but i don't know the exact way for most security. With a ipv6 client ready i think it's very easy to change the IP of the client, maybe Don't know exactly. Denis ipv6 : 128bits -> VARCHAR(40) seems OK for hexadecimal representation, but don't know if other php configuration send another notation : can verify this after Carsten advice. |
|
I guess nobody knows yet - depends on the particular implementation. We should extend the field for 2.0 as varchar40, and for security purposes truncate everything above 40 chars right before insert. Shnoulle, can you do that? |
|
Only for 2.0 ? ipv6 is by default since 2012/06/06 on a lot of ISP products : http://www.worldipv6launch.org/ Denis |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8730 |
|
Yeah, only for 2.0. Thank you! |
|
LimeSurvey: Yii ef300ee0 2012-06-13 17:58 Details Diff |
Fixed issue 06202 : SQL error with failed_login_attempts with IPv6 Dev: need some test for security : due to privacy extensions, solution can be save only ipv4 or remove the privacy extension Dev: TODO for 1.92 |
Affected Issues 06202 |
|
mod - application/config/version.php | Diff File | ||
mod - application/controllers/admin/authentication.php | Diff File | ||
mod - application/controllers/admin/remotecontrol.php | Diff File | ||
mod - application/helpers/update/updatedb_helper.php | Diff File | ||
mod - application/models/Failed_login_attempts.php | Diff File | ||
mod - installer/sql/create-mssql.sql | Diff File | ||
mod - installer/sql/create-mysql.sql | Diff File | ||
mod - installer/sql/create-pgsql.sql | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-06-12 10:54 | DenisChenu | New Issue | |
2012-06-12 11:43 | Mazi | Assigned To | => c_schmitz |
2012-06-12 11:43 | Mazi | Status | new => assigned |
2012-06-12 11:43 | Mazi | Note Added: 19178 | |
2012-06-12 11:53 | DenisChenu | Note Added: 19184 | |
2012-06-12 11:57 | DenisChenu | Note Edited: 19184 | |
2012-06-12 14:59 | c_schmitz | Assigned To | c_schmitz => DenisChenu |
2012-06-12 15:00 | c_schmitz | Note Added: 19211 | |
2012-06-12 15:36 | DenisChenu | Note Added: 19214 | |
2012-06-15 08:50 | DenisChenu | Changeset attached | => LimeSurvey Yii ef300ee0 |
2012-06-15 08:50 | DenisChenu | Note Added: 19266 | |
2012-06-15 08:50 | DenisChenu | Resolution | open => fixed |
2012-06-20 14:14 | c_schmitz | Note Added: 19412 | |
2012-06-20 14:14 | c_schmitz | Status | assigned => closed |
2012-06-20 14:14 | c_schmitz | Fixed in Version | => 2.00RC3 |