PacketFence - BTS - PacketFence | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0001293 | PacketFence | security | public | 2011-10-03 11:42 | 2011-10-24 20:17 | |||||
Reporter | mattd | |||||||||
Assigned To | obilodeau | |||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | OS | OS Version | ||||||||
Product Version | devel | |||||||||
Target Version | 3.0.2 | Fixed in Version | 3.0.2 | |||||||
fixed in git revision | ||||||||||
fixed in mtn revision | 040493ea147330b41fd2b19d1c3cc1cf8c8d6929 | |||||||||
Summary | 0001293: Issues with LDAP-based authentication in web administration interface (login.php) | |||||||||
Description | There are two issues with LDAP-based authentication in the web administration interface (in script html/admin/login.php), which may allow an attacker access under certain system setups: The user-supplied username is not escaped before being interpolated into the LDAP search filter used for authentication, leading to weaker security. For example, a username with a "*" character could be used to perform a substring- or presence-based match on the username LDAP attribute, instead of equality-based. This could help an attacker use a valid username without needing to know of one beforehand. The user-supplied password is not checked to see if it is nonempty; the isset function used in check_password will still return true on an empty password. This leads to the ability to perform unauthenticated binds (if they are enabled on the LDAP server), allowing an attacker to 'authenticate' into the web administration interface without needing a valid password. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | security-fix-1293-ldap-anonymous-bind.patch (939) 2011-10-12 11:00 https://www.packetfence.org/bugs/file_download.php?file_id=109&type=bug security-fix-1293-ldap-injection.patch (799) 2011-10-12 15:01 https://www.packetfence.org/bugs/file_download.php?file_id=110&type=bug security-fix-1293-anonymous-bind-pf19.patch (1,777) 2011-10-24 11:27 https://www.packetfence.org/bugs/file_download.php?file_id=115&type=bug | |||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2011-10-03 11:42 | mattd | New Issue | ||||||||
2011-10-06 11:46 | obilodeau | Status | new => assigned | |||||||
2011-10-06 11:46 | obilodeau | Assigned To | => obilodeau | |||||||
2011-10-12 11:00 | obilodeau | File Added: security-fix-1293-ldap-anonymous-bind.patch | ||||||||
2011-10-12 14:31 | obilodeau | Note Added: 0002337 | ||||||||
2011-10-12 15:01 | obilodeau | File Added: security-fix-1293-ldap-injection.patch | ||||||||
2011-10-12 15:07 | obilodeau | mtn revision | => 040493ea147330b41fd2b19d1c3cc1cf8c8d6929 | |||||||
2011-10-12 15:07 | obilodeau | Note Added: 0002338 | ||||||||
2011-10-12 15:07 | obilodeau | Status | assigned => resolved | |||||||
2011-10-12 15:07 | obilodeau | Fixed in Version | => +1 | |||||||
2011-10-12 15:07 | obilodeau | Resolution | open => fixed | |||||||
2011-10-12 15:07 | obilodeau | Relationship added | related to 0001209 | |||||||
2011-10-17 10:39 | obilodeau | Note Added: 0002364 | ||||||||
2011-10-24 11:27 | dwuelfrath | File Added: security-fix-1293-anonymous-bind-pf19.patch | ||||||||
2011-10-24 13:08 | obilodeau | Note Added: 0002377 | ||||||||
2011-10-24 16:45 | obilodeau | View Status | private => public | |||||||
2011-10-24 20:15 | obilodeau | Target Version | => 3.0.2 | |||||||
2011-10-24 20:15 | obilodeau | Note Added: 0002385 | ||||||||
2011-10-24 20:16 | obilodeau | Status | resolved => closed | |||||||
2011-10-24 20:17 | obilodeau | Fixed in Version | +1 => 3.0.2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|