IBM DB2 XML Function Unauthorized File Creation and Disclosure Vulnerability
BID:12170
Info
IBM DB2 XML Function Unauthorized File Creation and Disclosure Vulnerability
| Bugtraq ID: | 12170 |
| Class: | Design Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jan 05 2005 12:00AM |
| Updated: | Jan 05 2005 12:00AM |
| Credit: | Discovery is credited to David Litchfield of NGSSoftware. |
| Vulnerable: |
IBM DB2 Universal Database for Windows 8.1 IBM DB2 Universal Database for Windows 8.0 IBM DB2 Universal Database for Windows 7.2 IBM DB2 Universal Database for Windows 7.1 IBM DB2 Universal Database for Solaris 8.1 IBM DB2 Universal Database for Solaris 8.0 IBM DB2 Universal Database for Solaris 7.2 IBM DB2 Universal Database for Solaris 7.1 IBM DB2 Universal Database for Solaris 7.0 IBM DB2 Universal Database for Linux 8.1 IBM DB2 Universal Database for Linux 8.0 IBM DB2 Universal Database for Linux 7.2 IBM DB2 Universal Database for Linux 7.1 IBM DB2 Universal Database for Linux 7.0 IBM DB2 Universal Database for HP-UX 8.1 IBM DB2 Universal Database for HP-UX 8.0 IBM DB2 Universal Database for HP-UX 7.2 IBM DB2 Universal Database for HP-UX 7.1 IBM DB2 Universal Database for HP-UX 7.0 IBM DB2 Universal Database for AIX 8.1 IBM DB2 Universal Database for AIX 8.0 IBM DB2 Universal Database for AIX 7.2 IBM DB2 Universal Database for AIX 7.1 IBM DB2 Universal Database for AIX 7.0 |
| Not Vulnerable: | |
Discussion
IBM DB2 XML Function Unauthorized File Creation and Disclosure Vulnerability
IBM DB2 is reported prone to a vulnerability allowing attackers to create and disclose arbitrary files on an affected computer. This issue may allow an attacker to corrupt data, disclose sensitive information and ultimately execute arbitrary code on a vulnerable computer.
It is reported that this issue can be exploited by employing XML functions supplied with DB2 that allow users to create, overwrite, and disclose arbitrary files with the permissions of the DB2 server.
The attacker must have a database connection to exploit this issue. A successful attack can result in a complete compromise of the computer or the database.
This issue appears to correspond to one of the unspecified vulnerabilities announced in BID 11327.
IBM DB2 is reported prone to a vulnerability allowing attackers to create and disclose arbitrary files on an affected computer. This issue may allow an attacker to corrupt data, disclose sensitive information and ultimately execute arbitrary code on a vulnerable computer.
It is reported that this issue can be exploited by employing XML functions supplied with DB2 that allow users to create, overwrite, and disclose arbitrary files with the permissions of the DB2 server.
The attacker must have a database connection to exploit this issue. A successful attack can result in a complete compromise of the computer or the database.
This issue appears to correspond to one of the unspecified vulnerabilities announced in BID 11327.
Exploit / POC
IBM DB2 XML Function Unauthorized File Creation and Disclosure Vulnerability
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution / Fix
IBM DB2 XML Function Unauthorized File Creation and Disclosure Vulnerability
Solution:
The vendor has released FixPak 6a and 7a to address this issue.
IBM DB2 Universal Database for AIX 8.0
IBM DB2 Universal Database for HP-UX 8.0
IBM DB2 Universal Database for Solaris 8.0
IBM DB2 Universal Database for Linux 8.0
IBM DB2 Universal Database for Windows 8.0
IBM DB2 Universal Database for Windows 8.1
IBM DB2 Universal Database for AIX 8.1
IBM DB2 Universal Database for Solaris 8.1
IBM DB2 Universal Database for Linux 8.1
IBM DB2 Universal Database for HP-UX 8.1
Solution:
The vendor has released FixPak 6a and 7a to address this issue.
IBM DB2 Universal Database for AIX 8.0
-
IBM FixPak 6a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html -
IBM FixPak 7a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html
IBM DB2 Universal Database for HP-UX 8.0
-
IBM FixPak 6a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html -
IBM FixPak 7a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html
IBM DB2 Universal Database for Solaris 8.0
-
IBM FixPak 6a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html -
IBM FixPak 7a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html
IBM DB2 Universal Database for Linux 8.0
-
IBM FixPak 6a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html -
IBM FixPak 7a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html
IBM DB2 Universal Database for Windows 8.0
-
IBM FixPak 6a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html -
IBM FixPak 7a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html
IBM DB2 Universal Database for Windows 8.1
-
IBM FixPak 6a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html -
IBM FixPak 7a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html
IBM DB2 Universal Database for AIX 8.1
-
IBM FixPak 6a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html -
IBM FixPak 7a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html
IBM DB2 Universal Database for Solaris 8.1
-
IBM FixPak 6a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html -
IBM FixPak 7a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html
IBM DB2 Universal Database for Linux 8.1
-
IBM FixPak 6a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html -
IBM FixPak 7a
http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html
IBM DB2 Universal Database for HP-UX 8.1
References
IBM DB2 XML Function Unauthorized File Creation and Disclosure Vulnerability
References:
References:
- APARs included in DB2 UDB Version 8 FixPak 6a and FixPak 7a (IBM)
- DB2 V8 FixPaks 6 and 7 replaced with FixPaks 6a and 7a (IBM)
- IBM responds to DB2 UDB security vulnerability reports (IBM)
- IBM DB2 XML functions file creation vulnerabilities (#NISR05012005I) ("NGSSoftware Insight Security Research"
)