php / php/php-src

ldap_bind fails to bind when the password contains special characters

未关闭
#11,407 10 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Bug Extension: ldap Status: Needs Triage
主要语言
C
星标
40.4k
派生
8.1k
平均合并
2 天 13 小时
30 天内合并 PR
96

描述

Description

Any ldap password that contains special characters such as "!", "_" or "&" fails to bind where stripping those characters from the password works.

Tested on PHP7.4 and PHP8.0

PHP Version

8.0.1

Operating System

Raspbian 11

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未指定源文件或测试。首先在报告的 PHP 版本和 Raspbian 11 上,使用包含 "!"、"_" 和 "&" 的密码复现 ldap_bind,然后跟踪 ldap_bind 使用的 LDAP 扩展入口点。完成的标准是:包含特殊字符的密码能够成功 bind,且密码未发生更改,并且针对报告案例存在回归测试覆盖。

由索引模型根据 Issue 内容生成。

评估

技术栈
php
领域
authentication
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。