CSV Formula Injection Vulnerability in phpLDAPadmin
Summary
CVE-2024-9102: 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 th... Affects phpldapadmin versions < ea17aadef46fd29850160987fe7740ceed1381ad. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
phpLDAPadmin is a web-based LDAP client that allows users to manage and administer LDAP directories through a user-friendly interface. It supports various LDAP operations, including browsing, editing, and exporting directory entries. However, versions from 1.2.0 to 1.2.6.7 have a critical vulnerability that allows users to export LDAP directory elements into CSV files without properly sanitizing the data, potentially leading to security risks.
Vulnerability Detail
The vulnerability, identified as CVE-2024-9102, arises from the lack of neutralization of special characters in the CSV export functionality of phpLDAPadmin. When a CSV file is opened in spreadsheet applications, certain characters can be interpreted as commands, leading to CSV Formula Injection. This can allow an attacker to execute arbitrary commands or manipulate data within the spreadsheet, posing a significant security threat to users who open the exported files.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, users should avoid opening CSV files exported from phpLDAPadmin in spreadsheet applications until the package is updated. Alternatively, users can manually inspect the CSV files in a text editor to ensure no malicious formulas are present before opening them in a spreadsheet.
Conclusion
The CVE-2024-9102 vulnerability in phpLDAPadmin poses a significant risk due to CSV Formula Injection. Users are advised to update their phpLDAPadmin installations to the latest version to protect against potential exploitation. Until then, caution should be exercised when handling exported CSV files.
See every vulnerability recorded for phpldapadmin →
FAQ
CVE-2024-9102 is a vulnerability in phpLDAPadmin that allows for CSV Formula Injection due to improper sanitization of exported data.
Versions from 1.2.0 to 1.2.6.7 of phpLDAPadmin are affected by this vulnerability.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The risks include potential execution of arbitrary commands or manipulation of data when the exported CSV files are opened in spreadsheet applications.
Yes, users should update to a version of phpLDAPadmin later than 1.2.6.7 to mitigate this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for phpldapadmin.