7.5
CWE
89 119
Advisory Published
CVE Published
Updated

CVE-2011-2703: SQL Injection

First published: Tue Jul 19 2011(Updated: )

Multiple SQL injection flaws and one stack based buffer overflow flaw were found in MapServer: [1] <a href="http://lists.osgeo.org/pipermail/mapserver-users/2011-July/069430.html">http://lists.osgeo.org/pipermail/mapserver-users/2011-July/069430.html</a> More from [1]: MapServer developers have discovered flaws in the OGC filter support in MapServer. That code is used in support of WFS, WMS-SLD and SOS specifications. All versions may be susceptible to SQL injection under certain circumstances. The extent of the vulnerability depends on the MapServer version, relational database and mapfile configuration being used. All users are ** strongly encouraged ** to upgrade to these latest releases. The 5.6.7 and 4.10.7 releases also address one significant potentially exploitable buffer overflow (6.0 branch is not vulneralble). References: [1] <a href="http://lists.osgeo.org/pipermail/mapserver-users/2011-July/069430.html">http://lists.osgeo.org/pipermail/mapserver-users/2011-July/069430.html</a> [2] <a href="http://trac.osgeo.org/mapserver/ticket/3903">http://trac.osgeo.org/mapserver/ticket/3903</a> [3] <a class="bz_bug_link bz_status_CLOSED bz_closed bz_public " title="CLOSED ERRATA - MapServer SQL injection vulnerabilities" href="show_bug.cgi?id=722545">https://bugzilla.redhat.com/show_bug.cgi?id=722545</a> [4] <a href="http://www.openwall.com/lists/oss-security/2011/07/19/11">http://www.openwall.com/lists/oss-security/2011/07/19/11</a> (CVE Request) Relevant upstream patches: [5] <a href="http://trac.osgeo.org/mapserver/attachment/ticket/3903/ticket3903_6.0.x.patch">http://trac.osgeo.org/mapserver/attachment/ticket/3903/ticket3903_6.0.x.patch</a> (for 6.0.x branch) [6] <a href="http://trac.osgeo.org/mapserver/attachment/ticket/3903/ticket3903_5.6.x.patch">http://trac.osgeo.org/mapserver/attachment/ticket/3903/ticket3903_5.6.x.patch</a> (for 5.6.x branch) [7] <a href="http://trac.osgeo.org/mapserver/attachment/ticket/3903/ticket3903_5.4.x.patch">http://trac.osgeo.org/mapserver/attachment/ticket/3903/ticket3903_5.4.x.patch</a> (for 5.4.x branch) [8] <a href="http://trac.osgeo.org/mapserver/attachment/ticket/3903/ticket3903_5.2.x.patch">http://trac.osgeo.org/mapserver/attachment/ticket/3903/ticket3903_5.2.x.patch</a> (for 5.2.x branch) [9] <a href="http://trac.osgeo.org/mapserver/attachment/ticket/3903/ticket3903_5.0.x.patch">http://trac.osgeo.org/mapserver/attachment/ticket/3903/ticket3903_5.0.x.patch</a> (for 5.0.x branch) [10] <a href="http://trac.osgeo.org/mapserver/attachment/ticket/3903/ticket3903_4.10.x.patch">http://trac.osgeo.org/mapserver/attachment/ticket/3903/ticket3903_4.10.x.patch</a> (for 4.10.x branch)

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
MapServer<=4.10.6
MapServer=4.2.0-beta1
MapServer=4.4.0
MapServer=4.4.0-beta1
MapServer=4.4.0-beta2
MapServer=4.4.0-beta3
MapServer=4.6.0
MapServer=4.6.0-beta1
MapServer=4.6.0-beta2
MapServer=4.6.0-beta3
MapServer=4.6.0-rc1
MapServer=4.8.0-beta1
MapServer=4.8.0-beta2
MapServer=4.8.0-beta3
MapServer=4.8.0-rc1
MapServer=4.8.0-rc2
MapServer=4.10.0
MapServer=4.10.0-beta1
MapServer=4.10.0-beta2
MapServer=4.10.0-beta3
MapServer=4.10.0-rc1
MapServer=4.10.1
MapServer=4.10.2
MapServer=4.10.3
MapServer=4.10.4
MapServer=4.10.5
MapServer=5.0.0
MapServer=5.0.0-beta1
MapServer=5.0.0-beta2
MapServer=5.0.0-beta3
MapServer=5.0.0-beta4
MapServer=5.0.0-beta5
MapServer=5.0.0-beta6
MapServer=5.0.0-rc1
MapServer=5.0.0-rc2
MapServer=5.2.0
MapServer=5.2.0-beta1
MapServer=5.2.0-beta2
MapServer=5.2.0-beta3
MapServer=5.2.0-beta4
MapServer=5.2.0-rc1
MapServer=5.2.1
MapServer=5.4.0
MapServer=5.4.0-beta1
MapServer=5.4.0-beta2
MapServer=5.4.0-beta3
MapServer=5.4.0-beta4
MapServer=5.4.0-rc1
MapServer=5.4.0-rc2
MapServer=5.4.1
MapServer=5.4.2
MapServer=5.6.0
MapServer=5.6.1
MapServer=5.6.3
MapServer=5.2.2
MapServer=5.2.3
MapServer=5.6.4
MapServer=5.6.5
MapServer=5.6.6
MapServer=6.0.0
MapServer=6.0.0-beta1
MapServer=6.0.0-beta2
MapServer=6.0.0-beta3
MapServer=6.0.0-beta4
MapServer=6.0.0-beta5
MapServer=6.0.0-beta6
MapServer=6.0.0-beta7
MapServer=6.0.0-rc1
MapServer=6.0.0-rc2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203