ID CVE-2007-2138
Summary Untrusted search path vulnerability in PostgreSQL before 7.3.19, 7.4.x before 7.4.17, 8.0.x before 8.0.13, 8.1.x before 8.1.9, and 8.2.x before 8.2.4 allows remote authenticated users, when permitted to call a SECURITY DEFINER function, to gain the privileges of the function owner, related to "search_path settings."
References
Vulnerable Configurations
  • cpe:2.3:a:postgresql:postgresql:-:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:-:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:-:*:*:*:*:debian:*:*
    cpe:2.3:a:postgresql:postgresql:-:*:*:*:*:debian:*:*
  • cpe:2.3:a:postgresql:postgresql:-:*:*:*:*:ubuntu:*:*
    cpe:2.3:a:postgresql:postgresql:-:*:*:*:*:ubuntu:*:*
  • cpe:2.3:a:postgresql:postgresql:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:1.01:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:1.01:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:1.02:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:1.02:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:1.08:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:1.08:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:1.09:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:1.09:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.4:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.4:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.4.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.5:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.5:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:6.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:6.5.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.2.4:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.2.5:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.2.6:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.2.7:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.2.7:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.2.8:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.2.8:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.4:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.4:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.5:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.5:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.6:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.6:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.7:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.7:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.8:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.8:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.9:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.9:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.10:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.10:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.11:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.11:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.12:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.12:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.13:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.13:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.14:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.14:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.15:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.15:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.16:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.16:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.17:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.17:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.3.18:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3.18:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.4:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.4:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.5:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.5:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.6:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.6:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.7:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.7:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.8:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.8:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.9:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.9:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.10:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.10:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.11:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.11:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.12:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.12:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.13:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.13:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.14:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.14:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.15:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.15:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:7.4.16:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.4.16:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.9:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.10:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.10:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.11:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.11:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.12:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.12:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.2.3:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*
    cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*
CVSS
Base: 6.0 (as of 19-10-2018 - 18:54)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
NETWORK MEDIUM SINGLE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:M/Au:S/C:P/I:P/A:P
oval via4
accepted 2013-04-29T04:01:30.379-04:00
class vulnerability
contributors
  • name Aharon Chernin
    organization SCAP.com, LLC
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment The operating system installed on the system is Red Hat Enterprise Linux 3
    oval oval:org.mitre.oval:def:11782
  • comment CentOS Linux 3.x
    oval oval:org.mitre.oval:def:16651
  • comment The operating system installed on the system is Red Hat Enterprise Linux 4
    oval oval:org.mitre.oval:def:11831
  • comment CentOS Linux 4.x
    oval oval:org.mitre.oval:def:16636
  • comment Oracle Linux 4.x
    oval oval:org.mitre.oval:def:15990
  • comment The operating system installed on the system is Red Hat Enterprise Linux 5
    oval oval:org.mitre.oval:def:11414
  • comment The operating system installed on the system is CentOS Linux 5.x
    oval oval:org.mitre.oval:def:15802
  • comment Oracle Linux 5.x
    oval oval:org.mitre.oval:def:15459
description Untrusted search path vulnerability in PostgreSQL before 7.3.19, 7.4.x before 7.4.17, 8.0.x before 8.0.13, 8.1.x before 8.1.9, and 8.2.x before 8.2.4 allows remote authenticated users, when permitted to call a SECURITY DEFINER function, to gain the privileges of the function owner, related to "search_path settings."
family unix
id oval:org.mitre.oval:def:10090
status accepted
submitted 2010-07-09T03:56:16-04:00
title Untrusted search path vulnerability in PostgreSQL before 7.3.19, 7.4.x before 7.4.17, 8.0.x before 8.0.13, 8.1.x before 8.1.9, and 8.2.x before 8.2.4 allows remote authenticated users, when permitted to call a SECURITY DEFINER function, to gain the privileges of the function owner, related to "search_path settings."
version 24
redhat via4
advisories
  • bugzilla
    id 237680
    title CVE-2007-2138 PostgreSQL security-definer function privilege escalation
    oval
    OR
    • AND
      • comment Red Hat Enterprise Linux 3 is installed
        oval oval:com.redhat.rhba:tst:20070026001
      • OR
        • AND
          • comment rh-postgresql is earlier than 0:7.3.19-1
            oval oval:com.redhat.rhsa:tst:20070336002
          • comment rh-postgresql is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064003
        • AND
          • comment rh-postgresql-contrib is earlier than 0:7.3.19-1
            oval oval:com.redhat.rhsa:tst:20070336020
          • comment rh-postgresql-contrib is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064017
        • AND
          • comment rh-postgresql-devel is earlier than 0:7.3.19-1
            oval oval:com.redhat.rhsa:tst:20070336014
          • comment rh-postgresql-devel is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064013
        • AND
          • comment rh-postgresql-docs is earlier than 0:7.3.19-1
            oval oval:com.redhat.rhsa:tst:20070336010
          • comment rh-postgresql-docs is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064009
        • AND
          • comment rh-postgresql-jdbc is earlier than 0:7.3.19-1
            oval oval:com.redhat.rhsa:tst:20070336004
          • comment rh-postgresql-jdbc is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064005
        • AND
          • comment rh-postgresql-libs is earlier than 0:7.3.19-1
            oval oval:com.redhat.rhsa:tst:20070336012
          • comment rh-postgresql-libs is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064011
        • AND
          • comment rh-postgresql-pl is earlier than 0:7.3.19-1
            oval oval:com.redhat.rhsa:tst:20070336008
          • comment rh-postgresql-pl is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064015
        • AND
          • comment rh-postgresql-python is earlier than 0:7.3.19-1
            oval oval:com.redhat.rhsa:tst:20070336018
          • comment rh-postgresql-python is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064019
        • AND
          • comment rh-postgresql-server is earlier than 0:7.3.19-1
            oval oval:com.redhat.rhsa:tst:20070336006
          • comment rh-postgresql-server is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064021
        • AND
          • comment rh-postgresql-tcl is earlier than 0:7.3.19-1
            oval oval:com.redhat.rhsa:tst:20070336016
          • comment rh-postgresql-tcl is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064023
        • AND
          • comment rh-postgresql-test is earlier than 0:7.3.19-1
            oval oval:com.redhat.rhsa:tst:20070336022
          • comment rh-postgresql-test is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064007
    • AND
      • comment Red Hat Enterprise Linux 4 is installed
        oval oval:com.redhat.rhba:tst:20070304001
      • OR
        • AND
          • comment postgresql is earlier than 0:7.4.17-1.RHEL4.1
            oval oval:com.redhat.rhsa:tst:20070336025
          • comment postgresql is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064026
        • AND
          • comment postgresql-contrib is earlier than 0:7.4.17-1.RHEL4.1
            oval oval:com.redhat.rhsa:tst:20070336029
          • comment postgresql-contrib is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064038
        • AND
          • comment postgresql-devel is earlier than 0:7.4.17-1.RHEL4.1
            oval oval:com.redhat.rhsa:tst:20070336027
          • comment postgresql-devel is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064036
        • AND
          • comment postgresql-docs is earlier than 0:7.4.17-1.RHEL4.1
            oval oval:com.redhat.rhsa:tst:20070336037
          • comment postgresql-docs is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064046
        • AND
          • comment postgresql-jdbc is earlier than 0:7.4.17-1.RHEL4.1
            oval oval:com.redhat.rhsa:tst:20070336031
          • comment postgresql-jdbc is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064032
        • AND
          • comment postgresql-libs is earlier than 0:7.4.17-1.RHEL4.1
            oval oval:com.redhat.rhsa:tst:20070336041
          • comment postgresql-libs is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064030
        • AND
          • comment postgresql-pl is earlier than 0:7.4.17-1.RHEL4.1
            oval oval:com.redhat.rhsa:tst:20070336045
          • comment postgresql-pl is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064028
        • AND
          • comment postgresql-python is earlier than 0:7.4.17-1.RHEL4.1
            oval oval:com.redhat.rhsa:tst:20070336033
          • comment postgresql-python is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064044
        • AND
          • comment postgresql-server is earlier than 0:7.4.17-1.RHEL4.1
            oval oval:com.redhat.rhsa:tst:20070336039
          • comment postgresql-server is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064034
        • AND
          • comment postgresql-tcl is earlier than 0:7.4.17-1.RHEL4.1
            oval oval:com.redhat.rhsa:tst:20070336043
          • comment postgresql-tcl is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064040
        • AND
          • comment postgresql-test is earlier than 0:7.4.17-1.RHEL4.1
            oval oval:com.redhat.rhsa:tst:20070336035
          • comment postgresql-test is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20070064042
    • AND
      • comment Red Hat Enterprise Linux 5 is installed
        oval oval:com.redhat.rhba:tst:20070331001
      • OR
        • AND
          • comment postgresql is earlier than 0:8.1.9-1.el5
            oval oval:com.redhat.rhsa:tst:20070336048
          • comment postgresql is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20070068003
        • AND
          • comment postgresql-contrib is earlier than 0:8.1.9-1.el5
            oval oval:com.redhat.rhsa:tst:20070336052
          • comment postgresql-contrib is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20070068013
        • AND
          • comment postgresql-devel is earlier than 0:8.1.9-1.el5
            oval oval:com.redhat.rhsa:tst:20070336064
          • comment postgresql-devel is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20070068009
        • AND
          • comment postgresql-docs is earlier than 0:8.1.9-1.el5
            oval oval:com.redhat.rhsa:tst:20070336060
          • comment postgresql-docs is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20070068005
        • AND
          • comment postgresql-libs is earlier than 0:8.1.9-1.el5
            oval oval:com.redhat.rhsa:tst:20070336050
          • comment postgresql-libs is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20070068011
        • AND
          • comment postgresql-pl is earlier than 0:8.1.9-1.el5
            oval oval:com.redhat.rhsa:tst:20070336062
          • comment postgresql-pl is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20070068017
        • AND
          • comment postgresql-python is earlier than 0:8.1.9-1.el5
            oval oval:com.redhat.rhsa:tst:20070336054
          • comment postgresql-python is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20070068015
        • AND
          • comment postgresql-server is earlier than 0:8.1.9-1.el5
            oval oval:com.redhat.rhsa:tst:20070336066
          • comment postgresql-server is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20070068019
        • AND
          • comment postgresql-tcl is earlier than 0:8.1.9-1.el5
            oval oval:com.redhat.rhsa:tst:20070336058
          • comment postgresql-tcl is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20070068007
        • AND
          • comment postgresql-test is earlier than 0:8.1.9-1.el5
            oval oval:com.redhat.rhsa:tst:20070336056
          • comment postgresql-test is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20070068021
    rhsa
    id RHSA-2007:0336
    released 2007-05-08
    severity Moderate
    title RHSA-2007:0336: postgresql security update (Moderate)
  • rhsa
    id RHSA-2007:0337
rpms
  • rh-postgresql-0:7.3.19-1
  • rh-postgresql-contrib-0:7.3.19-1
  • rh-postgresql-devel-0:7.3.19-1
  • rh-postgresql-docs-0:7.3.19-1
  • rh-postgresql-jdbc-0:7.3.19-1
  • rh-postgresql-libs-0:7.3.19-1
  • rh-postgresql-pl-0:7.3.19-1
  • rh-postgresql-python-0:7.3.19-1
  • rh-postgresql-server-0:7.3.19-1
  • rh-postgresql-tcl-0:7.3.19-1
  • rh-postgresql-test-0:7.3.19-1
  • postgresql-0:7.4.17-1.RHEL4.1
  • postgresql-contrib-0:7.4.17-1.RHEL4.1
  • postgresql-devel-0:7.4.17-1.RHEL4.1
  • postgresql-docs-0:7.4.17-1.RHEL4.1
  • postgresql-jdbc-0:7.4.17-1.RHEL4.1
  • postgresql-libs-0:7.4.17-1.RHEL4.1
  • postgresql-pl-0:7.4.17-1.RHEL4.1
  • postgresql-python-0:7.4.17-1.RHEL4.1
  • postgresql-server-0:7.4.17-1.RHEL4.1
  • postgresql-tcl-0:7.4.17-1.RHEL4.1
  • postgresql-test-0:7.4.17-1.RHEL4.1
  • postgresql-0:8.1.9-1.el5
  • postgresql-contrib-0:8.1.9-1.el5
  • postgresql-devel-0:8.1.9-1.el5
  • postgresql-docs-0:8.1.9-1.el5
  • postgresql-libs-0:8.1.9-1.el5
  • postgresql-pl-0:8.1.9-1.el5
  • postgresql-python-0:8.1.9-1.el5
  • postgresql-server-0:8.1.9-1.el5
  • postgresql-tcl-0:8.1.9-1.el5
  • postgresql-test-0:8.1.9-1.el5
refmap via4
bid 23618
confirm
debian
  • DSA-1309
  • DSA-1311
gentoo GLSA-200705-12
mandriva MDKSA-2007:094
sectrack 1017974
secunia
  • 24989
  • 24999
  • 25005
  • 25019
  • 25037
  • 25058
  • 25184
  • 25238
  • 25334
  • 25717
  • 25720
  • 25725
sunalert 102894
trustix 2007-0015
ubuntu USN-454-1
vupen
  • ADV-2007-1497
  • ADV-2007-1549
xf postgresql-searchpath-privilege-escalation(33842)
Last major update 19-10-2018 - 18:54
Published 24-04-2007 - 20:19
Back to Top