CVE-2024-9102: phpLDAPadmin: Improper Neutralization of Formula Elements

Published Dec 19, 2024
·
Updated

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 Software

1 affected component
phpLDAPadmin phpLDAPadmin>=1.2.0<=1.2.6.7

Remediation

Information

It is recommended that control characters at the beginning of character strings in cells are filtered before CSV export in order to avoid formula injection. As such functions always start with one of the following characters, these can be filtered specifically: - Equal (=) - Plus (+) - Minus (-) - At (@) - Tab (0x09) - Carriage return (0x0D) When filtering these special characters, care should be taken to ensure that not only the special characters in the first position are removed (for example in +-@=cmd|' /C calc.exe'!'A1'). Instead, all leading special characters up to the first legitimate character should be removed. As an alternative to the above-mentioned filtering, OWASP suggests also another sanitization method which includes three steps ( https://owasp.org/www-community/attacks/CSV_Injection ).

Event History

Dec 19, 2024
CVE Published
via MITRE·01:41 PM
Data Sourced
via MITRE·01:41 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-9102?

The severity of CVE-2024-9102 is considered to be moderate due to potential command execution risks when exporting CSV files.

2

How do I fix CVE-2024-9102?

To fix CVE-2024-9102, upgrade phpLDAPadmin to version 1.2.6.8 or later, which addresses the vulnerability.

3

Who is affected by CVE-2024-9102?

CVE-2024-9102 affects all versions of phpLDAPadmin from 1.2.0 to 1.2.6.7.

4

What types of attacks are possible due to CVE-2024-9102?

Due to CVE-2024-9102, attackers can exploit the vulnerability to execute commands on a user's system via malicious CSV files.

5

Is there a workaround for CVE-2024-9102?

A temporary workaround for CVE-2024-9102 is to sanitize exported data to ensure no special characters that could be interpreted as commands are included.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203