ID CVE-2005-0227
Summary PostgreSQL (pgsql) 7.4.x, 7.2.x, and other versions allows local users to load arbitrary shared libraries and execute code via the LOAD extension.
References
Vulnerable Configurations
  • 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.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:8.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:postgresql:postgresql:8.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:postgresql:postgresql:8.0.0:*:*:*:*:*:*:*
CVSS
Base: 4.3 (as of 18-10-2023 - 20:54)
Impact:
Exploitability:
CWE CWE-94
CAPEC
  • Code Injection
    An adversary exploits a weakness in input validation on the target to inject new code into that which is currently executing. This differs from code inclusion in that code inclusion involves the addition or replacement of a reference to a code file, which is subsequently loaded by the target and used as part of the code of some application.
  • 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.
  • Manipulating User-Controlled Variables
    This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Access
VectorComplexityAuthentication
LOCAL LOW SINGLE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:L/Au:S/C:P/I:P/A:P
oval via4
accepted 2013-04-29T04:03:49.587-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 (pgsql) 7.4.x, 7.2.x, and other versions allows local users to load arbitrary shared libraries and execute code via the LOAD extension.
family unix
id oval:org.mitre.oval:def:10234
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
  • rhsa
    id RHSA-2005:150
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 12411
bugtraq 20050201 [USN-71-1] PostgreSQL vulnerability
debian DSA-668
gentoo 200502-08
mandrake MDKSA-2005:040
mlist
  • [pgsql-announce] 20050201 PostgreSQL Security Release
  • [pgsql-bugs] 20050121 Privilege escalation via LOAD
secunia 12948
suse SUSE-SA:2005:036
trustix 2005-0003
Last major update 18-10-2023 - 20:54
Published 02-05-2005 - 04:00
Last modified 18-10-2023 - 20:54
Back to Top