🇰🇷 한글 설명
LDAP Account Manager (LAM)의 설정값 검증 부족으로 공격자가 개행 문자를 삽입하여 임의의 설정값을 추가할 수 있는 취약점입니다. 이를 통해 CVE-2024-23333의 완화 조치를 우회하고 config.cfg 또는 serverprofile.conf 파일에 악의적인 설정을 추가할 수 있습니다. 버전 9.0에서 해결되었습니다.
💡 쉬운 설명
LAM 웹 관리 도구의 설정 입력창에서 줄바꿈을 삽입하면 관리자가 의도하지 않은 설정값을 몰래 추가할 수 있습니다. 이로 인해 보안 설정이 무효화될 수 있습니다.
🇺🇸 원문 (English)
LDAP Account Manager (LAM) is a php webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. In affected versions LAM does not properly sanitize configuration values, that are set via `mainmanage.php` and `confmain.php`. This allows setting arbitrary config values and thus effectively bypassing `mitigation` of CVE-2024-23333/GHSA-fm9w-7m7v-wxqv. Configuration values for the main config or server profiles are set via `mainmanage.php` and `confmain.php`.
The values are written to `config.cfg` or `serverprofile.conf` in the format of `settingsName: settingsValue` line-by-line.
An attacker can smuggle arbitrary config values in a config file, by inserting a newline into certain config fields, followed by the value. This vulnerability has been addressed in version 9.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.
📍 영향받는 시스템
LDAP Account Manager 버전 9.0 미만
⚔️ 공격 벡터
mainmanage.php 또는 confmain.php의 설정 입력 필드에 개행 문자를 삽입하여 임의의 설정값 추가
🛡️ 대응 방법
LDAP Account Manager를 버전 9.0 이상으로 업그레이드
🔧 검증 코드
패키지명과 버전이 출력되며, 버전이 9.0 미만이면 취약함
dpkg -l 2>/dev/null | grep ldap-account-manager | awk '{print $2, $3}'