iDefense Security Advisory 01.31.08: IBM Informix Dynamic Server SQLIDEBUG File Creation Vulnerability
2008-02-06T00:00:00
ID SECURITYVULNS:DOC:19011 Type securityvulns Reporter Securityvulns Modified 2008-02-06T00:00:00
Description
iDefense Security Advisory 01.31.08
http://labs.idefense.com/intelligence/vulnerabilities/
Jan 31, 2008
I. BACKGROUND
IBM Corp.'s Informix Dynamic Server is an online transaction processing
data server. For more information, visit the product's homepage at the
following URL.
Local exploitation of a file creation vulnerability in IBM Corp.'s
Informix Dynamic Server allows attackers to elevate privileges to root.
When the SQLIDEBUG environment variable is set, several set-uid binaries
will log debugging information to the specified file.
III. ANALYSIS
Exploitation allows local attackers to gain root privileges.
After creating the file, the file's ownership is changed to match the
user and group of the executing user. As such, an attacker could create
files that they own anywhere on the system.
IV. DETECTION
iDefense confirmed the existence of this vulnerability in IBM Corp.'s
Informix Dynamic Server version 10.00 UC6TL installed on a Linux
system. Other versions are also suspected as vulnerable. Versions for
other supported Unix systems should also be considered vulnerable.
V. WORKAROUND
Removing the set-uid bit from all programs included with Informix will
prevent exploitation. However, this could disable some functionality
for non-root users.
VI. VENDOR RESPONSE
IBM Corp. has addressed this vulnerability with the release of version
10.00.xC8 of Informix Dynamic Server. For more information, visit the
following URL.
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2008-0369 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org/), which standardizes names for
security problems.
Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically,
please e-mail customerservice@idefense.com for permission.
Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct,
indirect, or consequential loss or damage arising from use of, or
reliance on, this information.
{"id": "SECURITYVULNS:DOC:19011", "bulletinFamily": "software", "title": "iDefense Security Advisory 01.31.08: IBM Informix Dynamic Server SQLIDEBUG File Creation Vulnerability", "description": "iDefense Security Advisory 01.31.08\r\nhttp://labs.idefense.com/intelligence/vulnerabilities/\r\nJan 31, 2008\r\n\r\nI. BACKGROUND\r\n\r\nIBM Corp.'s Informix Dynamic Server is an online transaction processing\r\ndata server. For more information, visit the product's homepage at the\r\nfollowing URL.\r\n\r\nhttp://www-306.ibm.com/software/data/informix/ids/\r\n\r\nII. DESCRIPTION\r\n\r\nLocal exploitation of a file creation vulnerability in IBM Corp.'s\r\nInformix Dynamic Server allows attackers to elevate privileges to root.\r\n\r\nWhen the SQLIDEBUG environment variable is set, several set-uid binaries\r\nwill log debugging information to the specified file.\r\n\r\nIII. ANALYSIS\r\n\r\nExploitation allows local attackers to gain root privileges.\r\n\r\nAfter creating the file, the file's ownership is changed to match the\r\nuser and group of the executing user. As such, an attacker could create\r\nfiles that they own anywhere on the system.\r\n\r\nIV. DETECTION\r\n\r\niDefense confirmed the existence of this vulnerability in IBM Corp.'s\r\nInformix Dynamic Server version 10.00 UC6TL installed on a Linux\r\nsystem. Other versions are also suspected as vulnerable. Versions for\r\nother supported Unix systems should also be considered vulnerable.\r\n\r\nV. WORKAROUND\r\n\r\nRemoving the set-uid bit from all programs included with Informix will\r\nprevent exploitation. However, this could disable some functionality\r\nfor non-root users.\r\n\r\nVI. VENDOR RESPONSE\r\n\r\nIBM Corp. has addressed this vulnerability with the release of version\r\n10.00.xC8 of Informix Dynamic Server. For more information, visit the\r\nfollowing URL.\r\n\r\nhttp://www-1.ibm.com/support/docview.wss?uid=swg27011556\r\n\r\nVII. CVE INFORMATION\r\n\r\nThe Common Vulnerabilities and Exposures (CVE) project has assigned the\r\nname CVE-2008-0369 to this issue. This is a candidate for inclusion in\r\nthe CVE list (http://cve.mitre.org/), which standardizes names for\r\nsecurity problems.\r\n\r\nVIII. DISCLOSURE TIMELINE\r\n\r\n09/01/2007 Initial vendor notification\r\n09/13/2007 Initial vendor response\r\n01/31/2008 Coordinated public disclosure\r\n\r\nIX. CREDIT\r\n\r\nThe discoverer of this vulnerability wishes to remain anonymous.\r\n\r\nGet paid for vulnerability research\r\nhttp://labs.idefense.com/methodology/vulnerability/vcp.php\r\n\r\nFree tools, research and upcoming events\r\nhttp://labs.idefense.com/\r\n\r\nX. LEGAL NOTICES\r\n\r\nCopyright \u00a9 2008 iDefense, Inc.\r\n\r\nPermission is granted for the redistribution of this alert\r\nelectronically. It may not be edited in any way without the express\r\nwritten consent of iDefense. If you wish to reprint the whole or any\r\npart of this alert in any other medium other than electronically,\r\nplease e-mail customerservice@idefense.com for permission.\r\n\r\nDisclaimer: The information in the advisory is believed to be accurate\r\nat the time of publishing based on currently available information. Use\r\nof the information constitutes acceptance for use in an AS IS condition.\r\n There are no warranties with regard to this information. Neither the\r\nauthor nor the publisher accepts any liability for any direct,\r\nindirect, or consequential loss or damage arising from use of, or\r\nreliance on, this information.", "published": "2008-02-06T00:00:00", "modified": "2008-02-06T00:00:00", "cvss": {"score": 6.9, "vector": "AV:LOCAL/AC:MEDIUM/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}, "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:19011", "reporter": "Securityvulns", "references": [], "cvelist": ["CVE-2008-0369"], "type": "securityvulns", "lastseen": "2018-08-31T11:10:24", "edition": 1, "viewCount": 5, "enchantments": {"score": {"value": 6.5, "vector": "NONE"}, "dependencies": {"references": [{"type": "cve", "idList": ["CVE-2008-0369"]}, {"type": "securityvulns", "idList": ["SECURITYVULNS:VULN:8635"]}], "rev": 4}, "backreferences": {"references": [{"type": "cve", "idList": ["CVE-2008-0369"]}, {"type": "securityvulns", "idList": ["SECURITYVULNS:VULN:8635"]}]}, "exploitation": null, "vulnersScore": 6.5}, "affectedSoftware": [], "immutableFields": [], "cvss2": {}, "cvss3": {}, "_state": {"dependencies": 1645554377}}
{"cve": [{"lastseen": "2022-03-23T11:35:52", "description": "Multiple unspecified programs in IBM Informix Dynamic Server (IDS) 10.x before 10.00.xC8 allow local users to create arbitrary files by specifying the target file in the SQLIDEBUG environment variable, whose ownership is changed to the user invoking the programs.", "cvss3": {}, "published": "2008-01-19T00:00:00", "type": "cve", "title": "CVE-2008-0369", "cwe": ["NVD-CWE-noinfo"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 3.4, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "COMPLETE", "availabilityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "baseScore": 6.9, "vectorString": "AV:L/AC:M/Au:N/C:C/I:C/A:C", "version": "2.0", "accessVector": "LOCAL", "authentication": "NONE"}, "impactScore": 10.0, "obtainUserPrivilege": false}, "cvelist": ["CVE-2008-0369"], "modified": "2017-08-08T01:29:00", "cpe": ["cpe:/a:ibm:informix_dynamic_server:10.00"], "id": "CVE-2008-0369", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2008-0369", "cvss": {"score": 6.9, "vector": "AV:L/AC:M/Au:N/C:C/I:C/A:C"}, "cpe23": ["cpe:2.3:a:ibm:informix_dynamic_server:10.00:*:*:*:*:*:*:*"]}], "securityvulns": [{"lastseen": "2021-06-08T19:00:05", "bulletinFamily": "software", "cvelist": ["CVE-2008-0368", "CVE-2008-0369"], "description": "SQLIDEBUG and onedcu operators allow to access arbitrary files.", "edition": 2, "modified": "2008-02-06T00:00:00", "published": "2008-02-06T00:00:00", "id": "SECURITYVULNS:VULN:8635", "href": "https://vulners.com/securityvulns/SECURITYVULNS:VULN:8635", "title": "IBM Informix Dynamic Server multiple security vulnerabilities", "type": "securityvulns", "cvss": {"score": 7.2, "vector": "AV:LOCAL/AC:LOW/Au:NONE/C:COMPLETE/I:COMPLETE/A:COMPLETE/"}}]}