{"id":"CVE-2013-7262","aliases":["DEBIAN-CVE-2013-7262","EUVD-2013-7040","GHSA-vc7r-pq5v-cj3h","MGASA-2015-0097"],"status":"published","title":"SQL injection vulnerability in the msPostGISLayerSetTimeFilter function in mappostgis.c in...","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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.0222,"percentile":0.82776,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2014-01-05T20:00:00Z","modified":"2026-09-01T20:02:15Z","fixes":[{"ecosystem":"Debian:12","package":"mapserver","fixed_in":["6.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mapserver","fixed_in":["6.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mapserver","fixed_in":["6.4.1-1"],"sources":["osv"]},{"ecosystem":"Mageia:4","package":"mapserver","fixed_in":["6.2.2-1.2.mga4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mapserver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mapserver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mapserver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.1-1"}]}]},{"source":"osv","ecosystem":"Mageia:4","package":"mapserver","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.2-1.2.mga4"}]}]}],"products":[{"vendor":"osgeo","product":"mapserver"},{"vendor":"umn","product":"mapserver"}],"references":[{"url":"http://www.mapserver.org/development/changelog/changelog-6-4.html#changelog-6-4-1","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://github.com/mapserver/mapserver/issues/4834","tags":["x_refsource_CONFIRM","x_transferred","report"]},{"url":"http://www.securityfocus.com/bid/64671","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://github.com/mapserver/mapserver/commit/3a10f6b829297dae63492a8c63385044bc6953ed","tags":["x_refsource_CONFIRM","x_transferred","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-7262"},{"url":"https://github.com/advisories/GHSA-vc7r-pq5v-cj3h"},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-7262","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2015-0097.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=15363","tags":["report"]},{"url":"http://www.mapserver.org/development/changelog/changelog-6-2-2.html","tags":["web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1048688","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2013-7262","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.","status":"published","published":"2014-01-05T20:00:00Z","modified":"2024-08-06T18:01:20.304Z","updated_at":"2026-11-02T14:34:59.222149Z"}],"euvd":[{"id":"EUVD-2013-7040","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.","status":"published","published":"2014-01-05T20:00:00Z","modified":"2024-08-06T18:01:20Z","updated_at":"2026-11-03T01:56:23.942036Z"}],"ghsa":[{"id":"GHSA-vc7r-pq5v-cj3h","title":"SQL injection vulnerability in the msPostGISLayerSetTimeFilter function in mappostgis.c in...","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.","status":"published","published":"2022-05-13T01:09:37Z","modified":"2023-02-01T05:03:25Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:50:03.389119Z"}],"nvd":[{"id":"CVE-2013-7262","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.","status":"published","published":"2014-01-05T20:55:04.147Z","modified":"2026-06-17T00:01:36.393Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:02:48.062712Z"}],"osv":[{"id":"CVE-2013-7262","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.","status":"published","published":"2014-01-05T20:55:04Z","modified":"2026-04-16T06:25:19.944231957Z","updated_at":"2026-11-02T15:43:59.361892Z"},{"id":"DEBIAN-CVE-2013-7262","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.","status":"published","published":"2014-01-05T20:55:04.147Z","modified":"2026-09-01T20:02:15.325398882Z","updated_at":"2026-11-02T15:45:25.819707Z"},{"id":"MGASA-2015-0097","title":"Updated mapserver packages fix CVE-2013-7262 and packaging issues","description":"Updated mapserver packages fix security vulnerability:\n\nSQL injection vulnerability in the msPostGISLayerSetTimeFilter function in\nmappostgis.c in MapServer before 6.4.1, when a WMS-Time service is used,\nallows remote attackers to execute arbitrary SQL commands via a crafted\nstring in a PostGIS TIME filter (CVE-2013-7262).\n\nThe mapserver package has been updated to version 6.2.2, which fixes this\nissue and several other bugs, including some packaging issues which\nprevented it from working anyway.\n","status":"published","published":"2015-03-06T18:08:57Z","modified":"2026-04-16T06:23:21.257256258Z","updated_at":"2026-11-02T15:49:39.488462Z"}]}}
