CVE-2013-7262 SQL injection in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary SQL commands via crafted PostGIS TIME filters in MapServer when WMS-Time is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2013-7262?

CVE-2013-7262 is a medium-severity SQL injection vulnerability in n/a, published on 5 Jan 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-89

Which versions are affected by CVE-2013-7262?

It affects 2 products.

Products include Osgeo Mapserver, Umn Mapserver.

How do I fix CVE-2013-7262?

Upgrade to a fixed version.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2013-7262 being exploited?

There is no known exploitation of CVE-2013-7262 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2013-7262, GHSA-vc7r-pq5v-cj3h, MGASA-2015-0097.

Is CVE-2013-7262 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free