{"schemaVersion":3,"id":"CVE-2013-7262","aliases":["MGASA-2015-0097","DEBIAN-CVE-2013-7262"],"status":"published","duplicateOf":null,"title":null,"description":"SQL injection vulnerability in the msPostGISLayerSetTimeFilter function in mappostgis.c in MapServer before 6.4.1, when a WMS-Time service is used, allows remote attackers to execute arbitrary SQL commands via a crafted string in a PostGIS TIME filter.","dates":{"published":"2014-01-05T20:00:00.000Z","modified":"2024-08-06T18:01:20.304Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.8,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0222,"percentile":0.82409,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0222},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0222,"percentile":0.82409}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0222,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0222,"percentile":0.82409}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"debian","product":"mapserver","name":"mapserver","label":"mapserver","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mapserver","purlType":"deb","versions":[{"text":"< 6.4.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.4.1-1","eol":null,"hubHref":null},{"vendor":"mageia","product":"mapserver","name":"mapserver","label":"mapserver","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/mapserver","purlType":"rpm","versions":[{"text":"< 6.2.2-1.2.mga4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.2.2-1.2.mga4","eol":null,"hubHref":null},{"vendor":"osgeo","product":"mapserver","name":"mapserver","label":"mapserver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 6.4.0","noFixRecorded":false,"fixedIn":null},{"text":"4.2.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"4.4.0","noFixRecorded":false,"fixedIn":null},{"text":"4.4.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"4.4.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"4.4.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"4.6.0","noFixRecorded":false,"fixedIn":null},{"text":"4.6.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"4.6.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"4.6.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"4.6.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"4.8.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"4.8.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"4.8.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"4.8.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"4.8.0:rc2","noFixRecorded":false,"fixedIn":null},{"text":"4.10.0","noFixRecorded":false,"fixedIn":null},{"text":"4.10.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"4.10.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"4.10.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"4.10.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"4.10.1","noFixRecorded":false,"fixedIn":null},{"text":"4.10.2","noFixRecorded":false,"fixedIn":null},{"text":"4.10.3","noFixRecorded":false,"fixedIn":null},{"text":"4.10.4","noFixRecorded":false,"fixedIn":null},{"text":"4.10.5","noFixRecorded":false,"fixedIn":null},{"text":"5.0.0","noFixRecorded":false,"fixedIn":null},{"text":"5.0.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"5.0.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"5.0.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"5.0.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"5.0.0:beta5","noFixRecorded":false,"fixedIn":null},{"text":"5.0.0:beta6","noFixRecorded":false,"fixedIn":null},{"text":"5.0.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"5.0.0:rc2","noFixRecorded":false,"fixedIn":null},{"text":"5.2.0","noFixRecorded":false,"fixedIn":null},{"text":"5.2.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"5.2.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"5.2.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"5.2.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"5.2.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"5.2.1","noFixRecorded":false,"fixedIn":null},{"text":"5.4.0","noFixRecorded":false,"fixedIn":null},{"text":"5.4.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"5.4.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"5.4.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"5.4.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"5.4.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"5.4.0:rc2","noFixRecorded":false,"fixedIn":null},{"text":"5.4.1","noFixRecorded":false,"fixedIn":null},{"text":"5.4.2","noFixRecorded":false,"fixedIn":null},{"text":"5.6.0","noFixRecorded":false,"fixedIn":null},{"text":"5.6.1","noFixRecorded":false,"fixedIn":null},{"text":"5.6.3","noFixRecorded":false,"fixedIn":null},{"text":"6.0.1","noFixRecorded":false,"fixedIn":null},{"text":"6.0.2","noFixRecorded":false,"fixedIn":null},{"text":"6.0.3","noFixRecorded":false,"fixedIn":null},{"text":"6.2.0","noFixRecorded":false,"fixedIn":null},{"text":"6.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 6.4.0 | 4.2.0:beta1 | 4.4.0 | 4.4.0:beta1 | 4.4.0:beta2 | 4.4.0:beta3 | 4.6.0 | 4.6.0:beta1 | 4.6.0:beta2 | 4.6.0:beta3 | 4.6.0:rc1 | 4.8.0:beta1 | 4.8.0:beta2 | 4.8.0:beta3 | 4.8.0:rc1 | 4.8.0:rc2 | 4.10.0 | 4.10.0:beta1 | 4.10.0:beta2 | 4.10.0:beta3 | 4.10.0:rc1 | 4.10.1 | 4.10.2 | 4.10.3 | 4.10.4 | 4.10.5 | 5.0.0 | 5.0.0:beta1 | 5.0.0:beta2 | 5.0.0:beta3 | 5.0.0:beta4 | 5.0.0:beta5 | 5.0.0:beta6 | 5.0.0:rc1 | 5.0.0:rc2 | 5.2.0 | 5.2.0:beta1 | 5.2.0:beta2 | 5.2.0:beta3 | 5.2.0:beta4 | 5.2.0:rc1 | 5.2.1 | 5.4.0 | 5.4.0:beta1 | 5.4.0:beta2 | 5.4.0:beta3 | 5.4.0:beta4 | 5.4.0:rc1 | 5.4.0:rc2 | 5.4.1 | 5.4.2 | 5.6.0 | 5.6.1 | 5.6.3 | 6.0.1 | 6.0.2 | 6.0.3 | 6.2.0 | 6.2.1","eol":null,"hubHref":"/vendor/osgeo/mapserver"},{"vendor":"umn","product":"mapserver","name":"mapserver","label":"mapserver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.2.3","noFixRecorded":false,"fixedIn":null},{"text":"5.6.7","noFixRecorded":false,"fixedIn":null},{"text":"6.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.2.3 | 5.6.7 | 6.0.0","eol":null,"hubHref":"/vendor/umn/mapserver"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.mapserver.org/development/changelog/changelog-6-4.html#changelog-6-4-1","label":"www.mapserver.org/development/changelog/changelog-6-4.html","hostname":"www.mapserver.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://github.com/mapserver/mapserver/issues/4834","label":"github.com/mapserver/mapserver/issues/4834","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.securityfocus.com/bid/64671","label":"www.securityfocus.com/bid/64671","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"https://github.com/mapserver/mapserver/commit/3a10f6b829297dae63492a8c63385044bc6953ed","label":"github.com/mapserver/mapserver/commit/3a10f6b829297dae63492a8c63385044bc6953ed","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://advisories.mageia.org/MGASA-2015-0097.html","label":"advisories.mageia.org/MGASA-2015-0097.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=15363","label":"bugs.mageia.org/show_bug.cgi?id=15363","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"http://www.mapserver.org/development/changelog/changelog-6-2-2.html","label":"www.mapserver.org/development/changelog/changelog-6-2-2.html","hostname":"www.mapserver.org","tags":["WEB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1048688","label":"bugzilla.redhat.com/show_bug.cgi?id=1048688","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-7262","label":"security-tracker.debian.org/tracker/CVE-2013-7262","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2014-01-05T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T18:01:20.304Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:26:12.339Z","stale":false,"partial":false}}