{ "id": "CVE-2007-0347", "sourceIdentifier": "cve@mitre.org", "published": "2007-01-29T20:28:00.000", "lastModified": "2018-10-16T16:32:18.603", "vulnStatus": "Modified", "cveTags": [], "evaluatorComment": "The DoS vulnerability exists because the is_eow() function in \"format.c\" does NOT just check the FIRST character of the supplied string for an End-Of-Word terminating character, but instead iterates over string and this way can skip a single embedded quotation mark. The is_repository_file() function then in turn assumes that the filename string can never contain a single quotation mark and traps into a SQL escaping problem.", "evaluatorSolution": "Successful remote unauthenticated exploit requires that CVSTrac is explicitly configured to allow anonymous users to add tickets (it is not by default).", "evaluatorImpact": "An SQL injection via this technique is somewhat limited as is_eow() bails on whitespace. So while one _can_ do an SQL injection, one is limited to SQL queries containing only characters which get past the function isspace(3). This effectively limits attacks to SQL commands like \"VACUUM\".", "descriptions": [ { "lang": "en", "value": "The is_eow function in format.c in CVSTrac before 2.0.1 does not properly check for the \"'\" (quote) character, which allows remote authenticated users to execute limited SQL injection attacks and cause a denial of service (database error) via a ' character in certain messages, tickets, or Wiki entries." }, { "lang": "es", "value": "La funci\u00f3n is_eow en format.c de CVSTrac anterior a 2.0.1 no comprueba adecuadamente el car\u00e1cter \"'\" (comilla simple), lo cual permite a usuarios autenticados remotamente ejecutar ataques de inyecci\u00f3n SQL limitados y provocar denegaci\u00f3n de servicio (error de base de datos) mediante un car\u00e1cter ' en determinados mensajes, tiques, o entradas de Wiki." } ], "metrics": { "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:N/I:N/A:P", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 4.3 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "NVD-CWE-Other" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:cvstrac:cvstrac:*:*:*:*:*:*:*:*", "versionEndIncluding": "2.0", "matchCriteriaId": "E3F42760-C4F3-4929-9377-1C207F5F7DED" }, { "vulnerable": true, "criteria": "cpe:2.3:a:cvstrac:cvstrac:1.1:*:*:*:*:*:*:*", "matchCriteriaId": "BB739BB5-9DEE-43BF-8EC8-1567B3E28C46" }, { "vulnerable": true, "criteria": "cpe:2.3:a:cvstrac:cvstrac:1.1.1:*:*:*:*:*:*:*", "matchCriteriaId": "DFAB0125-7125-48D0-84A8-B4BAD15BEFA7" }, { "vulnerable": true, "criteria": "cpe:2.3:a:cvstrac:cvstrac:1.1.2:*:*:*:*:*:*:*", "matchCriteriaId": "382BAF58-3E11-475A-9453-9FA0CC55BA8F" }, { "vulnerable": true, "criteria": "cpe:2.3:a:cvstrac:cvstrac:1.1.3:*:*:*:*:*:*:*", "matchCriteriaId": "A82DCEFC-77F1-4FD3-9825-A779160BD3C0" }, { "vulnerable": true, "criteria": "cpe:2.3:a:cvstrac:cvstrac:1.1.4:*:*:*:*:*:*:*", "matchCriteriaId": "E31C434A-D807-4397-B794-7BEC4C0898B9" } ] } ] } ], "references": [ { "url": "http://lists.grok.org.uk/pipermail/full-disclosure/2007-January/052058.html", "source": "cve@mitre.org", "tags": [ "Patch", "Vendor Advisory" ] }, { "url": "http://osvdb.org/31935", "source": "cve@mitre.org" }, { "url": "http://secunia.com/advisories/23940", "source": "cve@mitre.org" }, { "url": "http://securityreason.com/securityalert/2192", "source": "cve@mitre.org" }, { "url": "http://www.cvstrac.org/cvstrac/chngview?cn=850", "source": "cve@mitre.org", "tags": [ "Patch", "Vendor Advisory" ] }, { "url": "http://www.cvstrac.org/cvstrac/tktview?tn=683", "source": "cve@mitre.org", "tags": [ "Patch", "Vendor Advisory" ] }, { "url": "http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.008.html", "source": "cve@mitre.org", "tags": [ "Vendor Advisory" ] }, { "url": "http://www.securityfocus.com/archive/1/458455/100/0/threaded", "source": "cve@mitre.org" }, { "url": "http://www.securityfocus.com/bid/22296", "source": "cve@mitre.org" }, { "url": "http://www.vupen.com/english/advisories/2007/0398", "source": "cve@mitre.org" } ] }