ID CVE-2008-3356
Summary verifydb in Ingres 2.6, Ingres 2006 release 1 (aka 9.0.4), and Ingres 2006 release 2 (aka 9.1.0) on Linux and other Unix platforms sets the ownership or permissions of an iivdb.log file without verifying that it is the application's own log file, which allows local users to overwrite arbitrary files by creating a symlink with an iivdb.log filename. "Exploitation of this vulnerability allows an attacker to overwrite arbitrary files owned by the "ingres" user. By itself, this vulnerability does not have very serious consequences. However, when combined with the library loading vulnerability, it allows an attacker to execute arbitrary code with root privileges. " (iDefense) This vulnerability affects all platforms except VMS and Windows Fixes are available for the current release of Ingres 2006 release 2 (9.1.0), for Ingres 2006 release 1 (9.0.4), and for Ingres 2.6 versions on their respective platforms. The security fixes are available and can be quickly applied with little to no anticipated impact to systems. Ingres customers with a current support contract can review the following knowledge base document for information on downloading the available fixes: http://servicedesk.ingres.com/CAisd/pdmweb.ingres?OP=SHOW_DETAIL+PERSID=KD:416012+HTMPL=kt_document_view.htmpl (ingres.com)
References
Vulnerable Configurations
  • cpe:2.3:a:ingres:ingres:2.6:*:*:*:*:*:*:*
    cpe:2.3:a:ingres:ingres:2.6:*:*:*:*:*:*:*
  • cpe:2.3:a:ingres:ingres:2006:9.0.1:*:*:*:*:*:*
    cpe:2.3:a:ingres:ingres:2006:9.0.1:*:*:*:*:*:*
  • cpe:2.3:a:ingres:ingres:2006:9.0.4:*:*:*:*:*:*
    cpe:2.3:a:ingres:ingres:2006:9.0.4:*:*:*:*:*:*
  • cpe:2.3:a:ingres:ingres:2006:release_1:*:*:*:*:*:*
    cpe:2.3:a:ingres:ingres:2006:release_1:*:*:*:*:*:*
  • cpe:2.3:a:ingres:ingres:2006:release_2:*:*:*:*:*:*
    cpe:2.3:a:ingres:ingres:2006:release_2:*:*:*:*:*:*
CVSS
Base: 4.6 (as of 11-10-2018 - 20:48)
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
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:L/Au:N/C:P/I:P/A:P
refmap via4
bid 30512
bugtraq 20080806 CA Products That Embed Ingres Multiple Vulnerabilities
confirm
idefense 20080801 Ingres Database for Linux verifydb Insecure File Permissions Modification Vulnerability
sectrack 1020613
secunia
  • 31357
  • 31398
vupen
  • ADV-2008-2292
  • ADV-2008-2313
xf ingres-verifydb-symlink(44177)
Last major update 11-10-2018 - 20:48
Published 05-08-2008 - 19:41
Last modified 11-10-2018 - 20:48
Back to Top