Description
LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. Prior to version 9.5, the PDF export component does not correctly validate uploaded file extensions. This way any file type (including .php files) can be uploaded. With GHSA-w7xq-vjr3-p9cf, an attacker can achieve remote code execution as the web server user. Version 9.5 fixes the issue. Although upgrading is recommended, a workaround would be to make /var/lib/ldap-account-manager/config read-only for the web-server user.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| LDAPAccountManager | lam | < 9.5 | — |
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 | ldap-account-manager | 9.5.1-1 | — |
| Debian 13 | ldap-account-manager | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | ldap-account-manager | No fix yet | — |
| Ubuntu 25.10 | ldap-account-manager | No fix yet | — |
| Ubuntu 24.04 LTS | ldap-account-manager | No fix yet | — |
| Ubuntu 22.04 LTS | ldap-account-manager | No fix yet | — |
| Ubuntu 20.04 LTS | ldap-account-manager | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ldap-account-manager | No fix yet | — |
| Ubuntu 16.04 LTS | ldap-account-manager | No fix yet | — |