A flaw exists in pam when built with libeconf and an unconfigured vendor directory. The `pam econf` configuration handler misinterprets the search path, leading it to search for configuration files in a relative directory within the current working directory. A local attacker can exploit this by placing crafted environment configuration files in a world-writable location. If an administrator executes a privileged command from that directory, the malicious variables are loaded into the privileged process, leading to local privilege escalation.