Local Password Exposure in ldapscripts: CVE-2007-5373

ldapscripts Updated 02 Oct 2025

Summary

11/10/2007
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2007-5373: ldapscripts 1.4 and 1.7 sends a password as a command line argument when calling some LDAP programs, which might allow local users to read the password by listing the process and its arguments, as demonstrated by a call... Affects ldapscripts versions < 1.7.1-2. Fixed in 1.7.1-2. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

ldapscripts is a set of scripts designed to facilitate LDAP (Lightweight Directory Access Protocol) management tasks. It provides a user-friendly interface for managing LDAP entries, including user accounts and groups. The package is widely used in environments where LDAP is employed for directory services. However, versions 1.4 and 1.7 of ldapscripts have a critical vulnerability that exposes sensitive information, specifically user passwords, through command line arguments.

Vulnerability Detail

The vulnerability arises from the way ldapscripts handles passwords when invoking certain LDAP programs. Specifically, when executing commands like ldappasswd, the password is passed as a command line argument. This practice can allow local users to view the password by inspecting the process list and its arguments. The potential ramifications include unauthorized access to user accounts and sensitive data, making this a significant security concern.

How To Fix

Minimum fixed version

1.7.1-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ldapscripts

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, consider using environment variables to pass sensitive information instead of command line arguments. For example, you can set the password in an environment variable and reference it in your scripts, thereby reducing the risk of exposure.

Conclusion

In summary, the vulnerability identified as CVE-2007-5373 in ldapscripts poses a significant risk by exposing passwords through command line arguments. It is crucial to update to the patched version 1.7.1-2 to mitigate this risk. Additionally, using environment variables as a workaround can help protect sensitive information until the update is applied.

See every vulnerability recorded for ldapscripts →

Share this vulnerability

FAQ

CVE-2007-5373 is a vulnerability in ldapscripts that allows local users to read passwords passed as command line arguments.

Versions 1.4 and 1.7 of ldapscripts are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The primary risk is unauthorized access to user accounts, as local users can potentially view sensitive passwords.

Yes, the patched version of ldapscripts is 1.7.1-2. Updating to this version will resolve the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for ldapscripts.

How To Fix

Minimum fixed version

1.7.1-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ldapscripts

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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