Lucene search
K

Microcart 1.0 Cross Site Scripting

🗓️ 20 Sep 2012 00:00:00Reported by Joseph SheridanType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 51 Views

Microcart 1.0 Cross-Site Scripting Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Microcart 1.0 Checkout Cross Site Scripting
20 Sep 201200:00
zdt
CVE
CVE-2012-4241
12 Aug 201420:00
cve
Cvelist
CVE-2012-4241
12 Aug 201420:00
cvelist
EUVD
EUVD-2012-4185
7 Oct 202500:30
euvd
NVD
CVE-2012-4241
12 Aug 201420:55
nvd
Packet Storm
Microcart 1.0 Checkout Cross Site Scripting
20 Sep 201200:00
packetstorm
Prion
Cross site scripting
12 Aug 201420:55
prion
securityvulns
Microcart 1.0 _Admin Cross-Site Scripting Security Vulnerability
1 Oct 201200:00
securityvulns
securityvulns
Microcart 1.0 Checkout Cross-Site Scripting Security Vulnerability
1 Oct 201200:00
securityvulns
securityvulns
Web applications security vulnerabilities summary (PHP, ASP, JSP, CGI, Perl)
1 Oct 201200:00
securityvulns
Rows per page
`/-----------------------------------------------------------------\  
| Microcart 1.0 _Admin Cross-Site Scripting Security Vulnerability |  
\-----------------------------------------------------------------/  
  
  
Summary  
=======  
  
Microcart 1.0 is subject to a cross-site scripting vulnerability. A generic parameter on the /_admin/index.php page was found to be subject to a cross-site scripting vulnerability. It was possible to inject arbitrary Javascript into the URL via the query string or following a ‘/’ character. This code is then passed into a form action parameter without sanitisation, and executed by the browser. Injecting the following Javascript code into a generic parameter on the /_admin/index.php page will trigger the vulnerability, causing the page to return a Javascript alert box.  
  
CVE number: CVE-2012-4241  
Impact: Medium  
Vendor homepage: http://microcart.sourceforge.net/  
Vendor notified: 23/07/2012  
Vendor resonse: This package is no longer being maintained and has subsequently been removed from sourceforge.net  
Credit: Chris Cooper and Joseph Sheridan of ReactionIS (http://www.reactionis.co.uk/)  
  
This advisory is posted at:  
  
http://www.reactionpenetrationtesting.co.uk/microcart-_admin-xss.html  
  
  
Affected Products  
======== ========  
  
Microcart 1.0.  
  
  
Details  
=======  
  
  
/_admin/index.php  
-----------------  
  
A generic parameter on the /_admin/index.php page was found to be subject to a cross-site scripting vulnerability. It was possible to inject arbitrary Javascript into the URL via the query string or following a ‘/’ character. This code is then passed into a form action parameter without sanitisation, and executed by the browser.  
  
Injecting the following Javascript code into a generic parameter on the /_admin/index.php page will trigger the vulnerability, causing the page to return a Javascript alert box.  
  
"><script>alert('xsstest')</script>  
  
Example Request:  
  
GET /microcart/_admin/index.php/"><script>alert('xsstest')</script> HTTP/1.1  
Host: 192.168.0.6  
Referer: https://192.168.0.6/microcart/_admin/  
  
Example Response:  
  
--- SNIP ---  
<div id="main">  
<h2>Login</h2>  
<p>Please enter your credentials to continue.</p>  
<form action="/microcart/_admin/index.php/"><script>alert('xsstest')</script>" method="post"> <table>  
<tr><th>Username:</th><td><input type="text" name="username" /></td></tr>  
<tr><th>Password:</th><td><input type="password" name="password" /></td></tr>  
<tr><td colspan="2"><input type="submit" name="login" value="Login" /></td></tr>  
</table>  
</form> </div>  
--- SNIP ---  
  
  
  
Impact  
======  
  
An attacker might entice users to follow a malicious URL, or visit a malicious page that submits arbitrary code to a Microcart application. If they do so, Javascript code might execute in their browser, potentially stealing session cookies or downloading malware onto their machine.  
  
  
Solution  
========  
  
The affected product is not under active development and, at the time of writing, no patch has been released by the vendor.  
  
  
Distribution  
============  
  
In addition to posting on the website, a text version of this notice has been posted to the following e-mail and Usenet news recipients.  
  
* bugtraq () securityfocus com  
* full-disclosure () lists grok org uk  
  
Future updates of this advisory, if any, will be placed on the ReactionIS corporate website, but may or may not be actively announced on mailing lists or newsgroups. Users concerned about this problem are encouraged to check the URL below for any updates:  
  
  
http://www.reactionpenetrationtesting.co.uk/microcart-_admin-xss.html  
  
==============================================================================  
  
Reaction Information Security   
Lombard House Business Centre,  
Suite 117,  
12-17 Upper Bridge Street,  
Canterbury, Kent, CT1 2NF  
  
Phone: +44 (0)1227 785050  
Email: research () reactionis {dot} co {dot} uk  
Web: http://www.reactionpenetrationtesting.co.uk  
  
  
Joseph Sheridan  
Director  
CHECK Team Leader, CREST Infrastructure, CREST Application, CISSP  
Tel: 07812052515  
Web: www.reactionis.com  
Email: [email protected]  
  
Reaction Information Security Limited.  
Registered in England No: 6929383  
Registered Office: 1, The Mews, 69 New Dover Road, Canterbury, CT1 3DZ  
  
This email and any files transmitted with it are confidential and are intended solely for the use of the individual to whom they are addressed. If you are not the intended recipient please notify the sender. Any unauthorised dissemination or copying of this email or its attachments and any use or disclosure of any information contained in them, is strictly prohibited.  
  
 Please consider the environment before printing this email  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation