ID CVE-2005-0244
Summary PostgreSQL 8.0.0 and earlier allows local users to bypass the EXECUTE permission check for functions by using the CREATE AGGREGATE command.
References
Vulnerable Configurations
  • 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.3:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:7.3:*:*:*:*:*:*:*
  • 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.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:8.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.0:*:*:*:*:*:*:*
CVSS
Base: 6.5 (as of 11-10-2017 - 01:29)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Manipulating Web 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.
  • 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.
  • Using Malicious 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.
  • 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.
  • 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.
Access
VectorComplexityAuthentication
NETWORK LOW SINGLE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:S/C:P/I:P/A:P
oval via4
accepted 2013-04-29T04:10:01.250-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
description PostgreSQL 8.0.0 and earlier allows local users to bypass the EXECUTE permission check for functions by using the CREATE AGGREGATE command.
family unix
id oval:org.mitre.oval:def:10927
status accepted
submitted 2010-07-09T03:56:16-04:00
title Buffer overflow in the readline function in util/texindex.c, as used by the (1) texi2dvi and (2) texindex commands, in texinfo 4.8 and earlier allows local users to execute arbitrary code via a crafted Texinfo file.
version 29
redhat via4
advisories
rhsa
id RHSA-2005:138
rpms
  • postgresql-0:7.4.7-2.RHEL4.1
  • postgresql-contrib-0:7.4.7-2.RHEL4.1
  • postgresql-debuginfo-0:7.4.7-2.RHEL4.1
  • postgresql-devel-0:7.4.7-2.RHEL4.1
  • postgresql-docs-0:7.4.7-2.RHEL4.1
  • postgresql-jdbc-0:7.4.7-2.RHEL4.1
  • postgresql-libs-0:7.4.7-2.RHEL4.1
  • postgresql-pl-0:7.4.7-2.RHEL4.1
  • postgresql-python-0:7.4.7-2.RHEL4.1
  • postgresql-server-0:7.4.7-2.RHEL4.1
  • postgresql-tcl-0:7.4.7-2.RHEL4.1
  • postgresql-test-0:7.4.7-2.RHEL4.1
  • rh-postgresql-0:7.3.9-2
  • rh-postgresql-contrib-0:7.3.9-2
  • rh-postgresql-debuginfo-0:7.3.9-2
  • rh-postgresql-devel-0:7.3.9-2
  • rh-postgresql-docs-0:7.3.9-2
  • rh-postgresql-jdbc-0:7.3.9-2
  • rh-postgresql-libs-0:7.3.9-2
  • rh-postgresql-pl-0:7.3.9-2
  • rh-postgresql-python-0:7.3.9-2
  • rh-postgresql-server-0:7.3.9-2
  • rh-postgresql-tcl-0:7.3.9-2
  • rh-postgresql-test-0:7.3.9-2
refmap via4
bid 12417
bugtraq 20050210 [USN-79-1] PostgreSQL vulnerabilities
mandrake MDKSA-2005:040
mlist [pgsql-hackers] 20050127 Permissions on aggregate component functions
secunia 12948
suse SUSE-SA:2005:036
xf postgresql-security-bypass(19184)
Last major update 11-10-2017 - 01:29
Published 02-05-2005 - 04:00
Last modified 11-10-2017 - 01:29
Back to Top