Vulnerabilities > CVE-2015-3887 - Untrusted Search Path vulnerability in Proxychains-Ng Project Proxychains-Ng
Attack vector
LOCAL Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
Untrusted search path vulnerability in ProxyChains-NG before 4.9 allows local users to gain privileges via a Trojan horse libproxychains4.so library in the current working directory, which is referenced in the LD_PRELOAD path.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leveraging/Manipulating Configuration File Search Paths This attack loads a malicious resource into a program's standard path used to bootstrap and/or provide contextual information for a program like a path variable or classpath. J2EE applications and other component based applications that are built from multiple binaries can have very long list of dependencies to execute. If one of these libraries and/or references is controllable by the attacker then application controls can be circumvented by the attacker. A standard UNIX path looks similar to this If the attacker modifies the path variable to point to a locale that includes malicious resources then the user unwittingly can execute commands on the attackers' behalf: This is a form of usurping control of the program and the attack can be done on the classpath, database resources, or any other resources built from compound parts. At runtime detection and blocking of this attack is nearly impossible, because the configuration allows execution.
Nessus
NASL family | FreeBSD Local Security Checks |
NASL id | FREEBSD_PKG_9471EC4705A211E58FDA002590263BF5.NASL |
description | Mamoru TASAKA reports : proxychains4 sets LD_PRELOAD to dlopen libproxychains4.so and execvp() the arbitrary command user has specified. proxychains4 sets the current directory as the first path to search libproxychains4.so |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 83910 |
published | 2015-06-01 |
reporter | This script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/83910 |
title | FreeBSD : proxychains-ng -- current path as the first directory for the library search path (9471ec47-05a2-11e5-8fda-002590263bf5) |
code |
|
References
- http://www.openwall.com/lists/oss-security/2015/05/13/11
- http://www.openwall.com/lists/oss-security/2015/05/13/11
- http://www.securityfocus.com/bid/74648
- http://www.securityfocus.com/bid/74648
- https://bugzilla.redhat.com/show_bug.cgi?id=1147013
- https://bugzilla.redhat.com/show_bug.cgi?id=1147013
- https://github.com/rofl0r/proxychains-ng/blob/v4.9/README#L56
- https://github.com/rofl0r/proxychains-ng/blob/v4.9/README#L56
- https://github.com/rofl0r/proxychains-ng/commit/9ab7dbeb3baff67a51d0c5e71465c453be0890b5#diff-803c5170888b8642f2a97e5e9423d399
- https://github.com/rofl0r/proxychains-ng/commit/9ab7dbeb3baff67a51d0c5e71465c453be0890b5#diff-803c5170888b8642f2a97e5e9423d399
- https://github.com/rofl0r/proxychains-ng/issues/60
- https://github.com/rofl0r/proxychains-ng/issues/60