CSV Formula Injection Vulnerability in phpLDAPadmin

phpldapadmin Updated 02 Oct 2025

Summary

19/12/2024
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback