| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in PostgreSQL up to 7.4.7. It has been rated as critical. This vulnerability affects the function plpgsql. The manipulation leads to code injection.
This vulnerability is traded as CVE-2005-0227. It is possible to initiate the attack remotely. There is no exploit available.
Upgrading the affected component is advised.
Details
A vulnerability was found in PostgreSQL up to 7.4.7 (Database Software). It has been rated as critical. This issue affects the function plpgsql. The manipulation with an unknown input leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 02/01/2005. The weakness was shared 02/01/2005 by Marc G. Fournier with postgresql.org (Website). The advisory is shared at archives.postgresql.org. The identification of this vulnerability is CVE-2005-0227 since 02/05/2005. The attack may be initiated remotely. The successful exploitation requires a simple authentication. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1059 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 17129 (RHEL 2.1 : postgresql (RHSA-2005:150)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Red Hat Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 19146 (PostgreSQL LOAD Extension Local Privilege Escalation Vulnerability).
Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at wwwmaster.postgresql.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (19183), Tenable (17129), SecurityFocus (BID 12411†), OSVDB (13354†) and Secunia (SA12948†). The entries VDB-1166, VDB-1168, VDB-1167 and VDB-23909 are related to this item. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://www.postgresql.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 17129
Nessus Name: RHEL 2.1 : postgresql (RHSA-2005:150)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 52194
OpenVAS Name: FreeBSD Ports: postgresql, postgresql-server, ja-postgresql
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: wwwmaster.postgresql.org
Timeline
02/01/2005 🔍02/01/2005 🔍
02/01/2005 🔍
02/01/2005 🔍
02/01/2005 🔍
02/04/2005 🔍
02/05/2005 🔍
02/14/2005 🔍
02/16/2005 🔍
02/16/2005 🔍
05/02/2005 🔍
07/05/2025 🔍
Sources
Product: postgresql.orgAdvisory: archives.postgresql.org
Researcher: Marc G. Fournier
Organization: postgresql.org
Status: Confirmed
CVE: CVE-2005-0227 (🔍)
GCVE (CVE): GCVE-0-2005-0227
GCVE (VulDB): GCVE-100-1169
OVAL: 🔍
X-Force: 19183
SecurityFocus: 12411 - PostgreSQL LOAD Extension Local Privilege Escalation Vulnerability
Secunia: 12948 - PostgreSQL Multiple Vulnerabilities, Less Critical
OSVDB: 13354 - CVE-2005-0227 - PostgreSQL - Code Execution Issue
Vulnerability Center: 7073 - PostgreSQL Local Loading of Arbitrary Shared Libraries and Code Execution via LOAD Extension, Medium
See also: 🔍
Entry
Created: 02/04/2005 14:20Updated: 07/05/2025 16:33
Changes: 02/04/2005 14:20 (88), 07/01/2019 09:24 (6), 07/05/2025 16:33 (20)
Complete: 🔍
Cache ID: 216:32A:103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.