Description
phpLDAPadmin since at least version 1.2.0 through the latest version 1.2.6.7 allows users to export elements from the LDAP directory into a Comma-Separated Value (CSV) file, but it does not neutralize special elements that could be interpreted as a command when the file is opened by a spreadsheet product. Thus, this could lead to CSV Formula Injection. NOTE: This vulnerability will not be addressed, the maintainer's position is that it is not the intention of phpLDAPadmin to control what data Administrators can put in their LDAP database, nor filter it on export.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| phpLDAPadmin | phpLDAPadmin | 1.2.0, 1.2.6.7 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | phpldapadmin | No fix yet | — |
| Debian 13 | phpldapadmin | No fix yet | — |
| Debian 12 | phpldapadmin | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | phpldapadmin | No fix yet | — |
| Ubuntu 26.04 LTS | phpldapadmin | No fix yet | — |
| Ubuntu 25.10 | phpldapadmin | No fix yet | — |
| Ubuntu 24.04 LTS | phpldapadmin | No fix yet | — |
| Ubuntu 22.04 LTS | phpldapadmin | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | phpldapadmin | No fix yet | — |
| Ubuntu 18.04 LTS | phpldapadmin | No fix yet | — |
| Ubuntu 16.04 LTS | phpldapadmin | No fix yet | — |
References
- https://www.redguard.ch/blog/2024/12/19/security-advisory-phpldapadmin/ third-party-advisory
- https://github.com/leenooks/phpLDAPadmin/commit/ea17aadef46fd29850160987fe7740ceed1381ad#diff-93b9f3e6d4c5bdacf469ea0ec74c1e9217ca6272da9be5a1bfd711f7da16f9e3R240
- https://sourceforge.net/projects/phpldapadmin/files/phpldapadmin-php5/1.2.0
- https://github.com/leenooks/phpLDAPadmin/issues/274#issuecomment-2586859072