Multiple vulnerabilities have been discovered in Mapbender, which can be exploited by malicious users to conduct SQL injection attacks, and by malicious people to conduct cross-site scripting and cross-site request forgery attacks.
1) Input passed via the "m", "d", and "t" parameters to extensions/datepicker/datepicker.php, "id" parameter to php/mod_layerMetadata.php, "printTitle", "printComment", "map_scale", and "footer" parameters to php/mod_printView1.php, "guiList", "name" and "left" parameters to php/nestedSets.php, "gui_id" parameter to php/mod_showGuiName.php, "getStyle" parameter to php/mod_getStyles.php and "length" parameter to php/mod_evalArea.php is not properly sanitised before being returned to the user. This can be exploited to execute HTML and script code in a user's browser session in context of an affected site.
2) The application allows users to perform certain actions via HTTP requests without making any validity checks to verify the requests. This can be exploited to e.g. change an administrative user's password by tricking an administrative user into visiting a malicious website while being logged in to the application.
3) Input passed via the "srs" parameter to php/mod_evalArea.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
4) Input passed via the "user", "password" and "tblmb" POST parameters to php/mod_saveWKT.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation requires "magic_quotes_gpc" to be disabled.
The vulnerabilities are confirmed in version 2.6.2. Other versions may also be affected.
Solution: Do not browse untrusted web sites or follow untrusted links while being logged in to the application. Edit the source code to ensure that input is properly sanitised.
Provided and/or discovered by: Red Team
Original Advisory: rt-sa-2010-004:
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com
Subject: Mapbender Multiple Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.