ID SECURITYVULNS:DOC:19299 Type securityvulns Reporter Securityvulns Modified 2008-02-29T00:00:00
Description
COMPASS SECURITY ADVISORY http://www.csnc.ch/
Product: Urulu
Vendor: USystems
Subject: Blind SQL Injection Vulnerability
Risk: High
Author: Daniel Roethlisberger
Date: 2008-02-25
CVE Name: CVE-2008-0385
Introduction
An AJAX based Blind SQL Injection vulnerability exists in
the Web 2.0 CMS framework Urulu [1]. A remote, anonymous
attacker can retrieve arbitrary data from the SQL database.
In addition, depending on the database setup, an attacker
may upload and execute arbitrary PHP code.
Affected Product
Vulnerable:
* Urulu 2.1 and closed-source version as of 2008-02-05.
Not vulnerable:
* Urulu 2.1.1 and closed-source version as of 2008-02-19.
Not tested:
* Other versions.
Technical Description
An SQL injection vulnerability exists in the connectionId
argument to asynchronious XML requests. Affected are POST
requests to at least the following URIs:
Even though there is no client-visible feedback from the
affected SQL statements, arbitrary data can be extracted
from the database using a timing based blind SQL injection
attack. Possible targets include Urulu account passwords
or other sensitive data stored in the database.
If the Urulu database user has the FILE permission granted,
it is possible to write arbitrary PHP code to writable and
web-accessible Urulu directories using the INTO OUTFILE
syntax of MySQL.
Proof of concept code exists for both the timing-based
data extraction and the arbitrary code execution via INTO
OUTFILE and PHP.
Workaround / Patch
Upgrade to Urulu 2.1.1 or apply this uuencoded patch:
Disclosure Timeline
2008-02-25: Coordinated public disclosure date
2008-02-19: Unilateral release of fixed Urulu 2.1.1
2008-02-05: Initial vendor response
2008-02-05: Initial vendor notification with patch
2008-01-21: Assigned CVE-2008-0385
2008-01-20: Discovery by Daniel Roethlisberger
{"id": "SECURITYVULNS:DOC:19299", "bulletinFamily": "software", "title": "Urulu 2.1 Blind SQL Injection Vulnerability (CVE-2008-0385)", "description": "#############################################################\r\n#\r\n# COMPASS SECURITY ADVISORY http://www.csnc.ch/\r\n#\r\n#############################################################\r\n#\r\n# Product: Urulu\r\n# Vendor: USystems\r\n# Subject: Blind SQL Injection Vulnerability\r\n# Risk: High\r\n# Author: Daniel Roethlisberger\r\n# Date: 2008-02-25\r\n# CVE Name: CVE-2008-0385\r\n#\r\n#############################################################\r\n\r\n\r\nIntroduction\r\n------------\r\nAn AJAX based Blind SQL Injection vulnerability exists in\r\nthe Web 2.0 CMS framework Urulu [1]. A remote, anonymous\r\nattacker can retrieve arbitrary data from the SQL database.\r\nIn addition, depending on the database setup, an attacker\r\nmay upload and execute arbitrary PHP code.\r\n\r\n\r\nAffected Product\r\n----------------\r\nVulnerable:\r\n * Urulu 2.1 and closed-source version as of 2008-02-05.\r\n\r\nNot vulnerable:\r\n * Urulu 2.1.1 and closed-source version as of 2008-02-19.\r\n\r\nNot tested:\r\n * Other versions.\r\n\r\n\r\nTechnical Description\r\n---------------------\r\nAn SQL injection vulnerability exists in the connectionId\r\nargument to asynchronious XML requests. Affected are POST\r\nrequests to at least the following URIs:\r\n\r\n /index.php/statprt/js/request\r\n /index.php/dyn/js/request\r\n\r\nEven though there is no client-visible feedback from the\r\naffected SQL statements, arbitrary data can be extracted\r\nfrom the database using a timing based blind SQL injection\r\nattack. Possible targets include Urulu account passwords\r\nor other sensitive data stored in the database.\r\n\r\nIf the Urulu database user has the FILE permission granted,\r\nit is possible to write arbitrary PHP code to writable and\r\nweb-accessible Urulu directories using the INTO OUTFILE\r\nsyntax of MySQL.\r\n\r\nProof of concept code exists for both the timing-based\r\ndata extraction and the arbitrary code execution via INTO\r\nOUTFILE and PHP.\r\n\r\n\r\nWorkaround / Patch\r\n------------------\r\nUpgrade to Urulu 2.1.1 or apply this uuencoded patch:\r\n\r\n\r\n\r\nDisclosure Timeline\r\n-------------------\r\n2008-02-25: Coordinated public disclosure date\r\n2008-02-19: Unilateral release of fixed Urulu 2.1.1\r\n2008-02-05: Initial vendor response\r\n2008-02-05: Initial vendor notification with patch\r\n2008-01-21: Assigned CVE-2008-0385\r\n2008-01-20: Discovery by Daniel Roethlisberger\r\n\r\n\r\nReferences\r\n----------\r\n[1] http://www.urulu.org/\r\n[2] http://www.csnc.ch/en/downloads/advisories.html\r\n\r\n\r\n-- \r\nDaniel Roethlisberger <daniel.roethlisberger@csnc.ch>\r\nCompass Security Network Computing AG, Rapperswil, Switzerland\r\nhttp://www.csnc.ch/ - Tel: +41 55 214 41 77 - PGP: 0x69292CBA\r\nSecurity Review - Penetration Testing - Computer Forensics", "published": "2008-02-29T00:00:00", "modified": "2008-02-29T00:00:00", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}, "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:19299", "reporter": "Securityvulns", "references": [], "cvelist": ["CVE-2008-0385"], "type": "securityvulns", "lastseen": "2018-08-31T11:10:25", "edition": 1, "viewCount": 7, "enchantments": {"score": {"value": 7.7, "vector": "NONE", "modified": "2018-08-31T11:10:25", "rev": 2}, "dependencies": {"references": [{"type": "cve", "idList": ["CVE-2008-0385"]}, {"type": "securityvulns", "idList": ["SECURITYVULNS:DOC:19298", "SECURITYVULNS:VULN:8730"]}, {"type": "seebug", "idList": ["SSV:2973"]}], "modified": "2018-08-31T11:10:25", "rev": 2}, "vulnersScore": 7.7}, "affectedSoftware": []}
{"cve": [{"lastseen": "2020-10-03T11:50:57", "description": "SQL injection vulnerability in server/widgetallocator.php in Urulu 2.1 allows remote attackers to execute arbitrary SQL commands via the connectionId parameter to index.php with (1) statprt/js/request or (2) dyn/js/request in the PATH_INFO.", "edition": 3, "cvss3": {}, "published": "2008-02-29T19:44:00", "title": "CVE-2008-0385", "type": "cve", "cwe": ["CWE-89"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "obtainUserPrivilege": true}, "cvelist": ["CVE-2008-0385"], "modified": "2018-10-15T21:59:00", "cpe": ["cpe:/a:urulu:urulu:2.1"], "id": "CVE-2008-0385", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2008-0385", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cpe23": ["cpe:2.3:a:urulu:urulu:2.1:*:*:*:*:*:*:*"]}], "securityvulns": [{"lastseen": "2018-08-31T11:10:25", "bulletinFamily": "software", "cvelist": ["CVE-2008-0385"], "description": "#############################################################\r\n#\r\n# COMPASS SECURITY ADVISORY http://www.csnc.ch/\r\n#\r\n#############################################################\r\n#\r\n# Product: Urulu\r\n# Vendor: USystems\r\n# Subject: Blind SQL Injection Vulnerability\r\n# Risk: High\r\n# Author: Daniel Roethlisberger\r\n# Date: 2008-02-25\r\n# CVE Name: CVE-2008-0385\r\n#\r\n#############################################################\r\n\r\n\r\nIntroduction\r\n------------\r\nAn AJAX based Blind SQL Injection vulnerability exists in\r\nthe Web 2.0 CMS framework Urulu [1]. A remote, anonymous\r\nattacker can retrieve arbitrary data from the SQL database.\r\nIn addition, depending on the database setup, an attacker\r\nmay upload and execute arbitrary PHP code.\r\n\r\n\r\nAffected Product\r\n----------------\r\nVulnerable:\r\n * Urulu 2.1 and closed-source version as of 2008-02-05.\r\n\r\nNot vulnerable:\r\n * Urulu 2.1.1 and closed-source version as of 2008-02-19.\r\n\r\nNot tested:\r\n * Other versions.\r\n\r\n\r\nTechnical Description\r\n---------------------\r\nAn SQL injection vulnerability exists in the connectionId\r\nargument to asynchronious XML requests. Affected are POST\r\nrequests to at least the following URIs:\r\n\r\n /index.php/statprt/js/request\r\n /index.php/dyn/js/request\r\n\r\nEven though there is no client-visible feedback from the\r\naffected SQL statements, arbitrary data can be extracted\r\nfrom the database using a timing based blind SQL injection\r\nattack. Possible targets include Urulu account passwords\r\nor other sensitive data stored in the database.\r\n\r\nIf the Urulu database user has the FILE permission granted,\r\nit is possible to write arbitrary PHP code to writable and\r\nweb-accessible Urulu directories using the INTO OUTFILE\r\nsyntax of MySQL.\r\n\r\nProof of concept code exists for both the timing-based\r\ndata extraction and the arbitrary code execution via INTO\r\nOUTFILE and PHP.\r\n\r\n\r\nWorkaround / Patch\r\n------------------\r\nUpgrade to Urulu 2.1.1 or apply this uuencoded patch:\r\n\r\n\r\n\r\nDisclosure Timeline\r\n-------------------\r\n2008-02-25: Coordinated public disclosure date\r\n2008-02-19: Unilateral release of fixed Urulu 2.1.1\r\n2008-02-05: Initial vendor response\r\n2008-02-05: Initial vendor notification with patch\r\n2008-01-21: Assigned CVE-2008-0385\r\n2008-01-20: Discovery by Daniel Roethlisberger\r\n\r\n\r\nReferences\r\n----------\r\n[1] http://www.urulu.org/\r\n[2] http://www.csnc.ch/en/downloads/advisories.html\r\n\r\n\r\n-- \r\nDaniel Roethlisberger <daniel.roethlisberger@csnc.ch>\r\nCompass Security Network Computing AG, Rapperswil, Switzerland\r\nhttp://www.csnc.ch/ - Tel: +41 55 214 41 77 - PGP: 0x69292CBA\r\nSecurity Review - Penetration Testing - Computer Forensics", "edition": 1, "modified": "2008-02-29T00:00:00", "published": "2008-02-29T00:00:00", "id": "SECURITYVULNS:DOC:19298", "href": "https://vulners.com/securityvulns/SECURITYVULNS:DOC:19298", "title": "Urulu 2.1 Blind SQL Injection Vulnerability (CVE-2008-0385)", "type": "securityvulns", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}, {"lastseen": "2018-08-31T11:09:28", "bulletinFamily": "software", "cvelist": ["CVE-2008-0784", "CVE-2008-0785", "CVE-2008-0783", "CVE-2008-0385", "CVE-2008-0786"], "description": "PHP inclusions, SQL injections, directory traversals, crossite scripting, information leaks, etc.", "edition": 1, "modified": "2008-02-29T00:00:00", "published": "2008-02-29T00:00:00", "id": "SECURITYVULNS:VULN:8730", "href": "https://vulners.com/securityvulns/SECURITYVULNS:VULN:8730", "title": "Daily web applications security vulnerabilities summary (PHP, ASP, JSP, CGI, Perl)", "type": "securityvulns", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}], "seebug": [{"lastseen": "2017-11-19T21:46:39", "description": "BUGTRAQ ID: 28032\r\nCVE(CAN) ID: CVE-2008-0385\r\n\r\nUrulu\u662f\u7528PHP\u3001JavaScript\u548cXSL\u7f16\u5199\u7684\u5185\u5bb9\u7ba1\u7406\u7cfb\u7edf\u3002\r\n\r\nUrulu\u5904\u7406\u7528\u6237\u8bf7\u6c42\u65f6\u5b58\u5728\u8f93\u5165\u9a8c\u8bc1\u6f0f\u6d1e\uff0c\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u80fd\u5229\u7528\u6b64\u6f0f\u6d1e\u83b7\u53d6\u654f\u611f\u4fe1\u606f\u3002\r\n\r\n\u5982\u679c\u5411\u4ee5\u4e0bURI\u63d0\u4ea4\u4e86\u5e26\u6709\u7578\u5f62connectionId\u53c2\u6570\u7684POST\u8bf7\u6c42\u7684\u8bdd\uff1a\r\n\r\n /index.php/statprt/js/request\r\n /index.php/dyn/js/request\r\n\r\n\u5c31\u53ef\u80fd\u6267\u884cSQL\u6ce8\u5165\u653b\u51fb\uff0c\u5bfc\u81f4\u6cc4\u9732\u5e10\u53f7\u53e3\u4ee4\u7b49\u654f\u611f\u4fe1\u606f\uff1b\u5982\u679cUrulu\u6570\u636e\u5e93\u7528\u6237\u62e5\u6709FILE\u6743\u9650\u7684\u8bdd\uff0c\u8fd8\u53ef\u80fd\u901a\u8fc7MySQL\u7684INTO OUTFILE\u53e5\u6cd5\u5199\u5165Urulu\u76ee\u5f55\u3002\r\n\r\n\r\nUrulu Urulu 2.1\r\n \u5382\u5546\u8865\u4e01\uff1a\r\n\r\nUrulu\r\n-----\r\n\u76ee\u524d\u5382\u5546\u5df2\u7ecf\u53d1\u5e03\u4e86\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u8fd9\u4e2a\u5b89\u5168\u95ee\u9898\uff0c\u8bf7\u5230\u5382\u5546\u7684\u4e3b\u9875\u4e0b\u8f7d\uff1a\r\n\r\n<a href=http://www.urulu.org/index.php/shr/download/Qmeg8W.gz target=_blank>http://www.urulu.org/index.php/shr/download/Qmeg8W.gz</a>", "published": "2008-03-02T00:00:00", "title": "Urulu connectionId\u53c2\u6570SQL\u76f2\u6ce8\u6f0f\u6d1e", "type": "seebug", "bulletinFamily": "exploit", "cvelist": ["CVE-2008-0385"], "modified": "2008-03-02T00:00:00", "href": "https://www.seebug.org/vuldb/ssvid-2973", "id": "SSV:2973", "sourceData": "", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}, "sourceHref": ""}]}